fyiyy
    wx.getLocation({//获取当前经纬度
      type: \'wgs84\', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息  
      success: function (res) {
        wx.openLocation({//​使用微信内置地图查看位置。
          latitude: 22.5542080000,//要去的纬度-地址
          longitude: 113.8878770000,//要去的经度-地址
          name: "地点名称",
          address:\'地址\'
        })
      }
    })

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-11-21
  • 2021-06-23
  • 2021-06-23
  • 2022-12-23
猜你喜欢
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-12-27
  • 2021-12-06
  • 2021-09-02
相关资源
相似解决方案