- 当前 Bug 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
- 当前 Bug 的表现(可附上截图)
原来都是好好的,现在发现wx.chooseLocation真机得不到地址坐标,无法进行测距等操作(只有选择下部的具体地址才可以)!
代码为:
wx.chooseLocation({
success: function (res) {
console.log("resl==",res.longitude,"res.latitude==",res.latitude);
that.setData({
mylong:res.longitude,
mylat:res.latitude,
})
},
fail: function () {
},
complete: function (res) {
console.log("ces==",res);
}
})
结果:
麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
https://developers.weixin.qq.com/s/S5Zxaymn709k
需要选择一下的
以前不需要选择下面的地址,只要在地图上选一个点就可以得到坐标了呀。难道现在改了?
如果是这样的话,只有地图标明地址的点才可以得到坐标,其它绝大部分都得不到坐标了啊~那像选点测距,给朋友发送指定点坐标的功能都不能用了啊