![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
高德地图
qq_36437172
这个作者很懒,什么都没留下…
展开
-
高德地图的开发和常用 API 的使用
1.引入高德地图的API文件 <scripttype="text/javascript"src="https://webapi.amap.com/maps?v=1.4.15&key=您申请的key值"></script> 2.创建地图容器 在你想要展示地图的页面中,创建一个div容器,并制定id标识: <divid="container"/> 同时制定容器大小。 #container{width:300px;height:...原创 2020-07-12 17:34:58 · 1510 阅读 · 0 评论 -
高德地图点击不同的标记,动态传入参数创建信息窗体
varstartMarker=newAMap.Marker({ position:path[0], icon:getOriginIcon(), map:mapMethods, }) varendMarker=newAMap.Marker({ position:path[path.length-1], i...原创 2020-07-06 22:32:19 · 2922 阅读 · 0 评论