移动端h5调起高德地图、百度地图实现路线及路况查询
//html
<a href="https://uri.amap.com/marker?position=经度,纬度&name=所在的位置名称">高德地图</a>
//js
window.location.href ="https://uri.amap.com/marker?position=" + location +"&name=" + scenicName;
<a href="http://api.map.baidu.com/marker?l
原创
2020-05-27 16:38:00 ·
1146 阅读 ·
0 评论