微信小程序定位点不在视野正中央

wx.getLocation({
 type: 'wgs84',
 success (res) {
   const latitude = res.latitude
   const longitude = res.longitude
   const speed = res.speed
   const accuracy = res.accuracy
 }
})

把 wgs84 改为 gcj02

posted @ 2019-08-30 20:08  绿谷  阅读(714)  评论(0编辑  收藏  举报