YouTip LogoYouTip

Ref Getcenter

# Map API getCenter() Method [![Image 3: Map() Constructor](#) 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)
← Ref GetdivRef Getbounds β†’