[Google Maps API v2] Re: How to Set Fixed Map Extents
>For example, not beyond
> the Washington DC metropolitan region. So I need to be able to set a SE and
> NW corner, or something like that.
isn't that what this (from the link that Larry gave) says:
"If you want to limit the range of movement that the user is allowed
to use on your map, you can add listeners for the "move" event, and
countermand any operations that go outside the permitted region.
...
What I've done for the position is to specify an allowable region in
GLatLngBounds() format, and require that the centre point lie within
that region."
--
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