src/components/map/index.vue
@@ -593,6 +593,7 @@ // let polygon = new global.DC.Polygon(positions) // let polygonObj = {}//要在全局定义 polygonObj[polygonName] = new global.DC.Polygon(positions) console.log(layerName, 1212) // polygon.setStyle({ polygonObj[polygonName].setStyle({ material: material,