I am placing markers on the map in a loop and extending the bounds of the map to fit the markers. When I use getZoom() to get the zoom level after fitting the bounds it's the same as the initial value for the map. My initial zoom value is set to 8 and that's what's returned after fitting the bounds. I placed a listener on zoom_changed and getZoom() returns 10 after fitting the bounds. How do I get the zoom level after fitting the bounds since calling getZoom() immediately after doesn't seem to return the correct value?
-- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
