|
|
@ -560,13 +560,13 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
updateGrid() { |
|
|
|
const { polygonData } = this; |
|
|
|
const { polygonData,polygonDotData } = this; |
|
|
|
if (polygonLayer) { |
|
|
|
polygonLayer.setData(polygonData); |
|
|
|
lineLayer.setData(polygonData); |
|
|
|
textLayer.setData(polygonData); |
|
|
|
posLayer.setData(polygonData); |
|
|
|
circleLayer.setData(polygonData); |
|
|
|
textLayer.setData(polygonDotData); |
|
|
|
posLayer.setData(polygonDotData); |
|
|
|
circleLayer.setData(polygonDotData); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|