uni-app打开地图导航

openMap(longitude, latitude, name) {
      uni.openLocation({
        longitude: Number(longitude),
        latitude: Number(latitude),
        name: name,
        scale: 12,
        success: function () {
          console.log('success');
        }
      })
    }

 

posted @ 2021-12-08 13:51  王浅浅  阅读(995)  评论(0编辑  收藏  举报