ubilabs / geocomplete

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

Constructor ignores zoom setting when location is a string #41

Open MountainRider opened 11 years ago

MountainRider commented 11 years ago

When I pass in a value for zoom in the mapOptions when calling the geocomplete constructor with a location that is a string, the zoom value appears to be ignored.

I examined the source code at

http://ubilabs.github.com/geocomplete/docs/

but I could see no obvious reason why this is happening.

alphydan commented 11 years ago

I'm getting the same problem. I'm using a modified version of the draggable example, which updates the formatted address as I drag the pin. But the original zoom is insensitive to my mapOptions.zoom and reverts back to 14 when I search for a new address. Any tips?

Here's my code https://gist.github.com/alphydan/5478470

hanneshapke commented 11 years ago

Hi Ubilabs team,

I experience the same problem. mapOptions are ignored when it is loaded with an address given.

Can you please shed some light on this issue? Thank you!

lokomass commented 9 years ago

Hi, I have same problem. Please, can you fix it ?