定位信息

interface AMapLocation {
    accuracy: number;
    additionSize?: number;
    additions?: string[];
    altitude: number;
    bearing?: number;
    direction: number;
    extras?: HashMap<string, ESObject>;
    isOffset: boolean;
    latitude: number;
    locationDetail?: string;
    locationType?: AMapLocationMoreType;
    longitude: number;
    provider?: string;
    reGeo?: AMapLocationReGeo;
    speed: number;
    timeSinceBoot: number;
    timeStamp: number;
}

Properties

accuracy: number

精度

additionSize?: number

附加信息数量

additions?: string[]

附加信息

altitude: number

海拔

bearing?: number

角度

direction: number

方向

extras?: HashMap<string, ESObject>
isOffset: boolean

是否偏转

latitude: number

纬度

locationDetail?: string

定位信息描述

locationType?: AMapLocationMoreType

定位结果来源

longitude: number

经度

provider?: string

the name of the provider that generated this fix

逆地理信息

speed: number

速度

timeSinceBoot: number

自启动以来时间

timeStamp: number

时间戳

Generated using TypeDoc