//html
<a href="https://uri.amap.com/marker?position=经度,纬度&name=所在的位置名称">高德地图</a>
//js
location = "108.650958,33.919852"
window.location.href ="https://uri.amap.com/marker?position=" + location +"&name=" + scenicName;
<a href="http://api.map.baidu.com/marker?location=纬度,经度&title=所在位置名称&content=所在位置的简介(可选)&output=html">百度地图</a>
最后
以上就是坦率电话最近收集整理的关于移动端h5调起高德地图、百度地图实现路线及路况查询的全部内容,更多相关移动端h5调起高德地图、百度地图实现路线及路况查询内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复