Monday, February 13, 2012

[Google Maps API v2] Issue with zooming

Hi peeps. I'm just wondering if there's a solution to a bit of a
usability issue. I'm no coder so I'm unable to work it out myself :(

The problem is that if you use http://www.mammothmattress.com/find_nearest.html
and the postcode NE1 1NE in a 10 or 25 mile radius, the two nearby
points are right on the edge of the page. Is there a way to set a
limit of how near the edge of the map they are before it zooms out? Or
simply to set the zoom level to the bounds, minus one level of zoom?

I imagine it's an edit to

map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));

Thanks for any help in advance.

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