- startLocationUpdate、onLocationChange获取位置不准
https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.startLocationUpdate.html
04-26 - startLocationUpdate安卓手机获取位置有时不准确
使用wx.startLocationUpdate()、wx.onLocationChange() 安卓手机真机测试的时候 有时会出现获取的位置不对的现象,代码如下: getWXLocation() { let that = this; return new Promise((resolve, reject) => { that.locationChangeFn = (res) => { resolve(res); }; wx.startLocationUpdate({ type: "wgs84", accuracy: "high", success: (res) => { wx.onLocationChange(that.locationChangeFn); }, fail: (err) => { console.log("获取当前位置失败", err); reject(); }, }); }); } [图片] 安卓手机获取到的位置的provider是network IOS是gps,是否和网络稳定性有关?
04-25 - 使用map地图同一道路上既有线又有围栏, polygon 会被polyline遮挡,设置层级无效
https://developers.weixin.qq.com/miniprogram/dev/component/map.htmlhttps://developers.weixin.qq.com/miniprogram/dev/component/map.html
04-16