吉安感知网项目-前端
shuishen
2026-01-28 046a69a1a3b50079eae3663cd631bd062748ec4f
applications/drone-command/src/views/areaManage/partition/shapeTools/draw/DrawPolygonTool.js
@@ -176,6 +176,14 @@
      this.floatPosition = null
      this.notify('getPolygonPositions', this.positions)
      this.tooltip.hide()
      this.clearPreviewEntities()
   }
   clearPreviewEntities() {
      if (!this.dataSource) return
      this.dataSource.entities.removeAll()
      this.polygonEntity = null
      this.polylineEntity = null
   }
   getPositionFromScreen(screenPosition) {