wx.getLocation无法获取altitude
发布于 6 年前 作者 li21 12102 次浏览 来自 问答

wx.getLocation({

type: ‘wgs84’,

altitude: true,

success: (res) => {

console.log(res.altitude)

}

})

安卓系统

1 回复

你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部