I have a set of points I want to plot on an embedded Google Map (API v3). I\'d like the bounds to accommodate all points unless the zoom level is too low (i.e., zoomed out
this work's for me with API v3 but with setting fixed zoom:
var bounds = new google.maps.LatLngBounds(); // extend bounds with each point gmap.setCenter(bounds.getCenter()); gmap.setZoom( 6 );