GeolocationResult

此类作为Geolocation的getCurrentPosition方法的回调函数参数,不可实例化。

interface GeolocationResult {
    accuracy?: number;
    address?: AddressComponent;
    point?: Point;
}

属性

定位精度,单位为米

根据定位坐标点解析出的地址信息,可能为空(3.0新增)

定位坐标点