收藏
回答

wx.getLocation type gcj02 安卓和ios获取的位置相差几百米?

type'gcj02',
 success (res) {
   const latitude = res.latitude
   const longitude = res.longitude
   const speed = res.speed
   const accuracy = res.accuracy
 }
})

手机:iphone 8plus


微信:8.0.2  

手机:redmi K30 5g 
微信:8.0.1

具体表现看 链接
https://badi-1256405151.cos.ap-guangzhou.myqcloud.com/Snipaste_2021-03-19_16-06-39.png

代码片段 https://developers.weixin.qq.com/s/Qm6QEVmp7uom
最后一次编辑于  2021-03-19
回答关注问题邀请回答
收藏

1 个回答

  • 浮生凉筑
    浮生凉筑
    2021-03-19

    开启高精度定位 试一下

    2021-03-19
    有用
    回复 1
    • 2021-03-19
      都是高精度
      2021-03-19
      回复
登录 后发表内容
问题标签