I have a google map in my site. I enabled zoom and map mo开发者_运维知识库ving. How to find the gps position of left upper corner that is displayed currently ?
The getBounds() method of the V3 API will return the bounding box data - the co-ordinates of the SW and NE corners of the current map.
The top left (NW) corner can of course then be easily derived.
精彩评论