使用 wx.openLocation() 接口

wx.openLocation({
  latitude: 0, // 纬度,浮点数,范围为90 ~ -90
  longitude: 0, // 经度,浮点数,范围为180 ~ -180。
  name: '', // 位置名
  address: '', // 地址详情说明
  scale: 1, // 地图缩放级别,整形值,范围从1~28。默认为最大
  infoUrl: '' // 在查看位置界面底部显示的超链接,可点击跳转
});

 

 

.

相关文章:

  • 2021-12-18
  • 2021-11-29
  • 2021-12-27
  • 2021-06-17
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-03
  • 2021-04-19
  • 2021-06-06
  • 2021-11-21
  • 2021-12-04
  • 2021-11-21
相关资源
相似解决方案