定位信息监听接口

interface IAMapLocationListener {
    onLocationChanged: ((location) => void);
    onLocationError: ((locationErrorInfo) => void);
}

Properties

onLocationChanged: ((location) => void)

定位信息改变回调

Type declaration

    • (location): void
    • Parameters

      Returns void

onLocationError: ((locationErrorInfo) => void)

定位异常回调

Type declaration

Generated using TypeDoc