Center
setCenter
Sets the center of the map.
Parameter
Required Parameter | Description | Type |
LatLng | Latitude and longitude to be set as the center of the map | JSON |
Example
getCenter
Retrieves the latitude and longitude value set in "setCenter()"
Return
The map's geographical center point
Example
Last updated