09 2024 档案
uniapp h5端地图导航功能
摘要:<template> <view class="container"> <view class="content"> <map :scale="14" :show-location="true" :show-compass="true" class="map-content" :latitude=" 阅读全文
posted @ 2024-09-27 14:52 李子骞 阅读(528) 评论(0) 推荐(0) 编辑
uniapp h5跳转地图的方法
摘要:// 跳转高德地图 const openAmap = () => { // 高德地图URL模板,其中"latitude"和"longitude"是你要标记的坐标 const lat = 39.90; // 纬度 const lon = 116.40; // 经度 const amapUrl = `h 阅读全文
posted @ 2024-09-27 14:51 李子骞 阅读(159) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示