uaiapp 开发APP应用;无论是使用高德地图SDK,还是使用uni.getLocation(); 都定位失败?报错:WIFI信息不足
高德地图代码:
this.amapPlugin.getRegeo({
success: (data) => {
console.log(data)
this.addressName = data[0].name;
uni.hideLoading();
console.log("APP-PLUS--------------------------------------"+addressName);
},fail:function(res){
console.log(res);
}
});
uni.getLocation()代码:
uni.getLocation({
type: ‘wgs84‘,
geocode:true,
success: function (res) {
console.log(res.address);
}
})
都报错:
{"errCode":"0","errMsg":"getLocation:fail [geolocation:2]WIFI信息不足 请到http://lbs.amap.com/api/android-locati...} at pages\components\parking\parkingShowDataList.vue:70
3 个回复
5***@qq.com
楼主解决了嘛 我也遇到了同样问题
2***@qq.com
[system] [object] {"errMsg":"getLocation:fail {\"status\":121,\"message\":\"此key每日调用量已达到上限\"}"}
c***@163.com
用手机就好了
2020-10-27 22:00
2***@qq.com
回复 c***@163.com: 好的
2020-12-22 16:02
杏仁abc
楼主最后怎么解决的