Hey Guys,
I'm trying to create an event listener to update a stored range for
latitude and longitude for zoomend...  So far I have the following:
GEvent.addListener(map, "zoomend", function() {
        mapCenterLat = map.getCenter().lat();
        mapCenterLng = map.getCenter().lng();
});

However, I would like to ideally have the latitude and longitude range
that is being displayed by the map after that zoomend event...  so
let's say the map was showing everything from -120 to -90 on the
longitude, it would somehow be able to store:
mapLatLeft = -120;
mapLatRight = -90;

Is this possible?  Or am I going to have to just estimate it with the
zoomlevel and the map center?

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to