> From your code, it seems like the zoom extents are based on > where the markers that are most wide apart are. >
Exactly. The last line of populateMap() map.fitBounds(markerBounds); makes that. If you delete that line, you have to give both 'center' and 'zoom' in mapOpts. I can see, you have zoom missing and hopefully countrytoshow is a LatLng object like var countrytoshow = new google.maps.LatLng(12, 34); -- 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.
