I currently set fitBounds for sets of markers so that the map can pan
and zoom in or out to fit the set of markers on the map. But in doing
that, when the markers are de-selected from the list and the map is
zoomed out based on the fitBounds, I noticed that the fitBounds does
not zoom back in on one route that is re-selected and shown again. It
seems that the fitBound on a map occurs as a one time event to try and
fit all markers on a map, but not repeated again on re-showing of
markers. Is there a way to make the fitBounds for a map to re-zoom in
after the map has zoomed out or make the fitBounds zoom in and out
according to the sets of markers that are displayed?

Here's my page: http://www.mentoreng.com/testing/maps/public/map2.html

-- 
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.

Reply via email to