locationID 用于提交给百度客服, 用来查询解决定位问题
使用过两个 api, 均无 locationID 这个参数
uni.getLocation 回调结果
{
"type": "WGS84",
"altitude": 0,
"latitude": 0,
"longitude": 0,
"speed": 0,
"accuracy": 35,
"errMsg": "getLocation:ok"
}
plus.geolocation.getCurrentPosition 回调结果
{
"coordsType": "bd09ll",
"address": {
"country": "中国",
"province": "上海市",
"city": "上海市",
"district": "",
"street": "",
"streetNum": "",
"cityCode": "289"
},
"addresses": "",
"coords": {
"latitude": 0,
"longitude": 0,
"accuracy": 40,
"altitude": 5e-324,
"heading": null,
"speed": 0,
"altitudeAccuracy": 0
},
"timestamp": 1637309982000
}
0 个回复