uni.getLocation({
type: 'wgs84',
altitude: true,
geocode: true,
isHighAccuracy: true,
success: function(res) {
console.log('==getLocation==');
console.log(res);
var mapKey = '66WBZ-CFCCL-27XPE-ML2GD-IIWFS-ANB2L';
_this.latitude = res.latitude
_this.longitude = res.longitude
luck1
- 发布:2024-05-29 11:41
- 更新:2024-06-05 11:44
- 阅读:147
2 个回复
Diligent_UI - 【插件开发】【专治疑难杂症】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=193663(微信搜索飘逸科技UI小程序直接体验)】【骗子请绕道】问题咨询请加QQ群:120594820,代表作灵感实用工具小程序
怎么判断定位不准的
1***@qq.com
刚刚踩了这个坑,需要在https上才会有精准定位