吉安感知网项目-前端
shuishen
2026-02-06 923745b2a138fcd243fa2b13fd5cf3f9e6eed16b
applications/drone-command/src/utils/cesium/shapeTools/draw/DrawPolygonTool.js
@@ -137,12 +137,18 @@
   handleMouseMove(movement) {
      if (!this.isDrawing) return
      const tipText = this.getTipText()
      if (!this.tooltip?.isVisible) {
         this.tooltip.show(tipText, movement.endPosition)
      } else {
         this.tooltip.show(tipText)
         this.tooltip.move(movement.endPosition)
      }
      if (this.positions.length === 0) return
      const position = this.getPositionFromScreen(movement.endPosition)
      if (!position) return
      this.lastMousePosition = position
      this.floatPosition = position
      this.tooltip.show(this.getTipText(), movement.endPosition)
   }
   getTipText() {