On Sep 12, 9:02 am, Gil <gil.fogo...@gmail.com> wrote: > Added your suggested code, but appariently it doesn't work, possibly > with some of the code I already have and should remove to get what I > need the zoom to do.
I don't see anything like what he suggested on your live page. > > On Sep 8, 11:19 am, xelawho <xela...@gmail.com> wrote: > > > > > > > > > > Can't figure what to change so that when the page is called, it isn't > > > zoomed in as much. > > > this line here: > > > map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds)); > > > tells the map to zoom and center so that only the markers added to the > > map are shown. > > > if you don't want that, you should edit or remove that line and set > > the center and zoom some other way. What zoom level do you want your map? What he suggested was changing this line: map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds)); to zoom how you want. The way it is it calculates the minimum zoom to display the markers. Apparently you don't want that. Either: 1. replace the map.getBoundsZoomLevel(bounds) with a hard coded zoom level or 2. replace the map.getBoundsZoomLevel(bounds) with map.getBoundsZoomLevel(bounds)+1 (or 2 or whatever you like) -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to google-maps-api@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.