Possible Duplicate:
get current latlng bounds?
I'm looking for the best way to use the Google maps API to get the latitude and longitude of the map viewport. Ideally I'd like to be able to use the latitude of the map's upper and lower borders and the longitude of the sides. The idea is the figure out the area of the visible map and adjust some related elements on the page based on what's currently visible on the map. Is there a a function in the map's API that handles this?
Thanks, any help is much appreciated.