定位信息

Hierarchy

  • Location

Properties

accuracy: number

定位精度 (米)

altitude?: number

海拔(米),需要 GPS

coordinateType?: "WGS84" | "GCJ02"

坐标系类型

Platform

android

errorCode?: ErrorCode

错误码

errorInfo?: string

错误信息

gpsAccuracy?: GpsAccuracy

卫星信号强度,仅在卫星定位时有效

Platform

android

heading?: number

移动方向,需要 GPS

latitude: number

经度,[-180, 180]

locationDetail?: string

定位信息描述

Platform

android

locationType?: LocationType

定位结果来源

Platform

android

longitude: number

纬度,[-90, 90]

speed?: number

移动速度(米/秒),需要 GPS

timestamp?: number

定位时间(毫秒)

trustedLevel?: TrustedLevel

定位结果的可信度,只有在定位结果正确时,才有意义

Platform

android

Generated using TypeDoc