吉安感知网项目-前端
罗广辉
2026-04-09 5223deb8807dec767f07383146be033b4dc74799
applications/drone-command/src/components/map-container/device-map-container.vue
@@ -15,6 +15,7 @@
                  <div class="panel-title">图层管理</div>
                  <div class="panel-content">
                     <el-tree ref="layerTreeRef" class="command-tree map-layer-tree" :data="layerTree"
                     icon="el-icon-arrow-down-bold"
                        show-checkbox default-expand-all node-key="key" :props="layerTreeProps"
                        :default-checked-keys="treeCheckedKeys" @check="handleLayerCheck" />
                  </div>
@@ -58,6 +59,7 @@
</template>
<script setup>
import * as Cesium from 'cesium'
import CommonCesiumMap from '@/components/map-container/common-cesium-map.vue'
import { buildEllipsePositions } from '@/utils/cesium/shapeTools'
@@ -469,43 +471,43 @@
   const basePoints = [
      [
         {
            longitude: 114.964975,
            latitude: 27.134855,
            longitude: 114.929475,
            latitude: 27.136575,
            height: 200
         },
         {
            longitude: 114.963966,
            latitude: 27.132836,
            longitude: 114.928466,
            latitude: 27.134556,
            height: 200
         },
         {
            longitude: 114.963966,
            latitude: 27.132836,
            longitude: 114.928466,
            latitude: 27.134556,
            height: 320
         },
         {
            longitude: 114.963974,
            latitude: 27.132677,
            longitude: 114.928474,
            latitude: 27.134397,
            height: 320
         },
         {
            longitude: 114.963432,
            latitude: 27.131665,
            longitude: 114.927932,
            latitude: 27.133385,
            height: 320
         },
         {
            longitude: 114.962865,
            latitude: 27.130377,
            longitude: 114.927365,
            latitude: 27.132097,
            height: 320
         },
         {
            longitude: 114.965318,
            latitude: 27.129925,
            longitude: 114.929818,
            latitude: 27.131645,
            height: 320
         },
         {
            longitude: 114.960144,
            latitude: 27.134902,
            longitude: 114.924644,
            latitude: 27.136622,
            height: 120
         },
      ],
@@ -799,7 +801,7 @@
            },
         })
         const speedMs = Math.round(Cesium.Cartesian3.distance(positions[0], positions[1]) / segmentDuration)
         dronePickMap.set(droneId, {
      dronePickMap.set(droneId, {
            data: {
               ...item,
               flightHeightM: item.flightHeightM ?? points[0].height,