香蕉钢铁侠

文章
3
资源
0
加入时间
3年2月3天

vue cli使用高德地图绘制带洞多边形

1.在main.js中引入import VueAMap from 'vue-amap';Vue.use(VueAMap);VueAMap.initAMapApiLoader({ // 高德的key key: '你的KEY', // 插件集合 plugin: ['AMap.Geolocation','Geolocation','AMap.Polygon','AMap.DistrictSearch','AMap.Autocomplete', 'AMap.PlaceSearch', 'AM.