微信小程序
MapContext.getCenterLocation
# MapContext.getCenterLocation(Object object)
以 Promise 风格 调用:不支持
小程序插件:支持
相关文档: map
# 功能描述
获取当前地图中心的经纬度。返回的是 gcj02 坐标系,可以用于 wx.openLocation()
以 Promise 风格 调用:不支持
小程序插件:支持
相关文档: map
获取当前地图中心的经纬度。返回的是 gcj02 坐标系,可以用于 wx.openLocation()