随笔分类 -  地图

摘要:initMap() { //初始化地图对象 this.map = new T.Map("my_map"); // this.map.enableDrag(); var ctrl = new T.Control.MapType(); this.map.addControl(ctrl); this.ma 阅读全文
posted @ 2020-06-12 16:09 吴wu聊 阅读(3969) 评论(0) 推荐(0)
摘要:<div id="container"></div> var map = new AMap.Map("my_container", { resizeEnable: true, center: [120.946263, 30.526436], zoom: 10 });//初始化地图 var distr 阅读全文
posted @ 2020-06-12 14:51 吴wu聊 阅读(1642) 评论(0) 推荐(0)
摘要://展示 showscenicPoints() { var icon = new AMap.Icon({ size: new AMap.Size(35, 45), // 图标尺寸 image: "/images/scenic.png" // Icon的图像 }); // console.log(th 阅读全文
posted @ 2020-05-08 15:35 吴wu聊 阅读(2619) 评论(0) 推荐(0)