applications/drone-command/src/views/areaManage/partition/shapeTools/draw/DrawEllipseTool.js
@@ -51,6 +51,7 @@ const positions = buildEllipsePositions(this.centerCartesian, this.semiMajor, this.semiMinor) this.notify('getPolygonPositions', positions) this.tooltip.hide() this.clearPreviewEntities() } } @@ -99,6 +100,12 @@ }) } clearPreviewEntities() { if (!this.dataSource) return this.dataSource.entities.removeAll() this.ellipseEntity = null } getPositionFromScreen(screenPosition) { const scene = this.viewer.scene const cartesian = scene.pickPosition(screenPosition)