uniapp 根据给定的经纬度、地址address,调取地图导航
时间:2021-07-06 18:27:28
收藏:0
阅读:41
//查看内置地图 (导航) 注意:经纬度必须转换为number类型,不然就...哈哈哈 goMap(item){ // console.log(item) uni.openLocation({ latitude: Number(item.take.mer_take_location[0]), longitude: Number(item.take.mer_take_location[1]), name: item.take.mer_take_address, success() { console.log(‘success‘); } }); }




原文:https://www.cnblogs.com/chenshaoxiong/p/14977780.html
评论(0)