微信小程序调起腾讯地图选点

//调起腾讯地图选点
getMapad: function() {
    var t = this;
    wx.chooseLocation({
      success: function(e) {
        console.log(e)
         t.setData({
          now_location_name: e.address,
          now_location_lat: e.latitude,
          now_location_lng: e.longitude,
          now_detail_address: e.name
        });
      },
      fail: function(t) {},
      complete: function(t) {}
    });
  }
})

你可能感兴趣的:(微信小程序调起腾讯地图选点)