Hi to everybody. I need to limit the visible area in a map. I want to
reproduce an effect like this http://econym.googlepages.com/example_range.htm
(one user can't move outside the defined bounds).

How can I do in GWT? Actually I draw a rectangle around the interested
area and if a user "move outside the borders" I reset the center to
the "real" center of the map. To do this I use this line of code

map.setCenter(LatLng.newInstance((maxX + minX)/2, (maxY + minY)/2));

but I want to hide the uninteresting part of the map.

P.S. sorry for my English.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to