wx.openLocation 打开 ios蓝屏 定位失败
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();
}
})
