Map API getBounds()
Method
Example
Returns the south-west latitude/longitude and north-east latitude/longitude of the current viewport:
Definition and Usage
The getBounds() method returns the south-west latitude/longitude and north-east latitude/longitude of the current viewport.
Syntax
Return Value
Value | Description |
---|---|
(south-west latitude, longitude),(north-east latitude, longitude) | Defines a rectangle from the south-west and north-east corners of the point. |