# MapContext.getCenterLocation(Object object)

Obtain the altitude and longitude of the current map center. The gcj02 coordinate system is returned, which can be used for wx.openLocation()

# Parameter

# Object object
property type default value optional description version
success function no 接口调用成功的回调函数
fail function no 接口调用失败的回调函数
complete function no 接口调用结束的回调函数(调用成功、失败都会执行)
# object.Success Callback


Object res

property type description version
longitude number Longitude
latitude number Latitude