src/components/map/plotMap.vue
@@ -51,7 +51,6 @@ preserveDrawingBuffer: true } }, sceneMode: 2 }) farmRegionLayer = new global.DC.VectorLayer('farmRegionLayer') @@ -365,8 +364,6 @@ plotRegionLayer.addOverlay(polygon) addPlotLayers.push({ center, name: item.landName, id: item.id }) } }, /** * 地块画线 @@ -447,6 +444,7 @@ // 根据坐标画线 const positions = this.setPositionByLandRange(landObj.landRange) console.log(positions,123455555) if (positions) { this.drawLandPolyLine(positions) }