微信小程序定位不精准
开始用的wgs84,偏差很明显,在设置了isHighAccuracy: true以后定位依然有很大的偏差,wgs84(是全球定位系统,获取的坐标,gcj02是国家测绘局给出的坐标)wx.getLocation({type: 'wgs84', //坐标系isHighAccuracy: true, //提高精确度success: function(res) {that.setData({latitude: res.latitude,longitude: res.longitude..
原创
2020-10-27 18:29:48 ·
3271 阅读 ·
0 评论