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.