stock2
stock2
  • 发布:2022-05-07 11:49
  • 更新:2022-05-07 12:43
  • 阅读:232

地理位置无法使用type,精度也不行

分类:uni-app

uni.getLocation({
type: 'BD09',geocode:true,isHighAccuracy:true,accuracy:'best',//wgs84 BD09 GCJ02
success: function (res) {
console.log('当前位置11:' JSON.stringify(res));
}
});
我回退过版本,也一样的. 定义高精度, type指定 都显示为wgs84
我想得到更加精度的地理位置。哪里错误了,谢谢。
//11:42:55.774 当前位置11:{"type":"wgs84","altitude":0,"latitude":31.34172,"longitude":121.442987,"speed":0,"accuracy":15,"errMsg":"getLocation:ok"}

2022-05-07 11:49 负责人:无 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

不支持BD09

要回复问题请先登录注册