How could I determine the visible map corner coordinate:
Use the getBounds()
method of your map, which returns a LatLngBounds
object.
Returns the lat/lng bounds of the current viewport. If the map is not yet initialized (ie the mapType is still null), or center and zoom have not been set then the result is null or undefined.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.