wx.openLocation 打开 ios蓝屏 定位失败

发布于 8 年前作者 gang7510125 次浏览最后编辑 8 年前来自 ask



wx.getLocation({

type: 'gcj02',

success: function (res) {

wx.hideLoading();

wx.openLocation({

latitude: parseFloat(item.longitude),

longitude: parseFloat(item.dimension),

name: item.name,

address: item.address

})

}, fail: function (res) {

wx.hideLoading();

}

})

1 回复
yujing
yujing1 楼5 年前

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。