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 (i.e. the mapType is still null), or center and zoom have not been set then the result is null or undefined.
Maps V3 Javascript API docs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With