All you have to do is save the zoom level before calling fitBounds, then set the zoom level to this value after making the call.
On Nov 16, 1:45 pm, fly2279 <[email protected]> wrote: > I have seen examples on how to fitBounds to zoom to fit all markers. > Is there a way to zoom to fill all markers while keeping the center of > the map on a specific marker or LatLng? -- 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=.
