fitbounds() in Google maps api V3 does not fit bounds

This happens because the fitBounds() needs to snap to a viewport that fits the map canvas using the maximum zoom level possible. On the other hand, the viewport returned by the geocoder is not dependent on the size, layout or zoom level of the map canvas. Therefore the fitBounds() method adjusts the map’s viewport in … Read more

Google Maps v3: Enforcing min. zoom level when using fitBounds

At this discussion on Google Groups I discovered that basically when you do a fitBounds, the zoom happens asynchronously so you need to capture the zoom and bounds change event. The code in the final post worked for me with a small modification… as it stands it stops you zooming greater than 15 completely, so … Read more