Map API getCenter()
Method
Example
Return the current center's latitude/longitude of the map:
Definition and Usage
The getCenter()
method returns the current center's latitude/longitude of the map.
Syntax
Return Value
Value | Description |
---|---|
latitude, longitude | The current center's latitude/longitude of the map. |