Ref Getcenter
# Map API getCenter() Method
[ Map() Constructor](#)
## Example
Returns the latitude/longitude of the map's current center:
map.getCenter();
[Try it Β»](#)
* * *
## Definition and Usage
The getCenter() method returns the latitude/longitude of the map's current center.
* * *
## Syntax
_mapvariable_.getCenter();
* * *
## Return Value
| Value | Description |
| --- | --- |
| latitude, longitude | The latitude/longitude of the map's current center. |
* * Map() Constructor](#)
AI is thinking...
[](#)(#)
[Map API getDiv() Method](#)[](#)
[ByteArk Coding Plan supports Doubao, GLM, DeepSeek, Kimi, MiniMax and other mainstream large models, officially supplied for stability and reliability. Β₯9.9/month Subscribe Now](https://maas.xfyun.cn/modelSquare?ch=maas_lm_l2E)
YouTip