huiyan-fe / react-bmapgl

基于百度地图JavaScript GL版API封装的React组件库
http://huiyan.baidu.com/github/react-bmapgl/
MIT License
114 stars 20 forks source link

[types] GeolocationResult #76

Closed lqzhgood closed 5 months ago

lqzhgood commented 1 year ago

根据实际返回的示例,补全缺少的属性

{
    "accuracy": 209,
    "altitude": null,
    "altitudeAccuracy": null,
    "heading": null,
    "latitude": 27.1234,
    "longitude": 113.1234,
    "speed": null,
    "timestamp": null,
    "point": {
        "lng": 113.1234,
        "lat": 27.1234
    },
    "address": {
        "country": "",
        "city": "xx市",
        "city_code": 0,
        "district": "xx区",
        "province": "xx省",
        "street": "xx路",
        "street_number": ""
    }
}