ubilabs / geocomplete

jQuery Geocoding and Places Autocomplete Plugin
http://ubilabs.github.com/geocomplete/
MIT License
1.22k stars 408 forks source link

initialize map in lat lng #338

Open juancresc opened 7 years ago

juancresc commented 7 years ago

I'm using the default example but I want to populate the map with given coordinates, any way to accomplish that?

p3lewis commented 7 years ago

I'm having this same issue, can someone give a comment on what they did to get around it please?

flafla commented 6 years ago

@juanmas07, @p3lewis try this

$('.geoloacation').geocomplete({
   location: [123, 123]
})