收藏
回答

国内外都需要使用的小程序,getLocation接口是否能正常返回海外经纬度,需要特殊处理嘛?

wx.getLocation({
 type: 'wgs84',
 success (res) {
   const latitude = res.latitude
   const longitude = res.longitude
   const speed = res.speed
   const accuracy = res.accuracy
 }
})
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容