上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: 方法一:规定地点 方法二:点击地图上任意两处,通过获取经纬度进行导航 <!DOCTYPE html><html> <head> <meta charset="utf-8"> <script type="text/javascript" src="https://webapi.amap.com/map 阅读全文
posted @ 2019-08-29 21:37 是桂 阅读(1449) 评论(0) 推荐(0) 编辑
摘要: 5-4添加标记练习 阅读全文
posted @ 2019-08-29 20:41 是桂 阅读(3258) 评论(0) 推荐(0) 编辑
摘要: AMap.Scale 距离控件AMap.ToolBar 比例尺 插件 &plugin=AMap.Scale,AMap.ToolBar map,addControl(new AMap.Scale());添加控件map,addControl(new AMap.Scale());添加比例尺 阅读全文
posted @ 2019-08-29 19:49 是桂 阅读(3242) 评论(0) 推荐(0) 编辑
摘要: 要求: 1.为地图任意设置一个中心点和地图显示级别 ,并在中心点添加一个标记。 2.为鼠标设置一个小手状的样式 。 3.为地图绑定点击事件 ,在点击的地方添加一个标记 ,同时要把之前的标记清除。 ( 具体效果查看效果视频 ) 任务(步骤): 1使用new AMap.Map()创建一个地图。 2. 为 阅读全文
posted @ 2019-08-29 19:35 是桂 阅读(4288) 评论(0) 推荐(0) 编辑
摘要: 添加标记: 1、marker.setMap(map); 2、marker.add([marker]); 删除标记: 阅读全文
posted @ 2019-08-29 18:34 是桂 阅读(15932) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.11&key=9de88a718781910c9a1c81230827d1ce&plugin=AMap.Autocomplete,AMap.PlaceS 阅读全文
posted @ 2019-08-29 17:51 是桂 阅读(3318) 评论(0) 推荐(0) 编辑
摘要: searchNearby 搜索 阅读全文
posted @ 2019-08-29 16:15 是桂 阅读(1726) 评论(0) 推荐(0) 编辑
摘要: 高德地图 阅读全文
posted @ 2019-08-28 22:07 是桂 阅读(471) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>高德地图</title> <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.11&key=9de88a718781910c9a1c81230827d1ce"></script> <st 阅读全文
posted @ 2019-08-28 21:47 是桂 阅读(2680) 评论(1) 推荐(0) 编辑
摘要: 高德地图 阅读全文
posted @ 2019-08-28 21:24 是桂 阅读(373) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页