Thursday, September 8, 2011

[Google Maps API v2] Re: Zoom In - Zoom Out

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

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate