From c1b252b4890ae7df1720955cb7caba184d78798f Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 27 Jan 2026 11:32:32 +0800
Subject: [PATCH] feat:数据驾驶舱部分调整
---
applications/drone-command/src/utils/cesium/adminBoundary.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/applications/drone-command/src/utils/cesium/adminBoundary.js b/applications/drone-command/src/utils/cesium/adminBoundary.js
index 381dc7d..25caf0d 100644
--- a/applications/drone-command/src/utils/cesium/adminBoundary.js
+++ b/applications/drone-command/src/utils/cesium/adminBoundary.js
@@ -24,6 +24,7 @@
fill: Cesium.Color.fromCssColorString(config.fillColor).withAlpha(config.fillAlpha),
clampToGround: true,
})
+ boundarySource.name = 'jaBoundarySource'
viewer.dataSources.add(boundarySource)
const lineSource = new Cesium.CustomDataSource('jaBoundaryLineSource')
@@ -42,6 +43,7 @@
},
})
})
+ lineSource.name = 'jaBoundaryLineSource'
viewer.dataSources.add(lineSource)
const labelSource = new Cesium.CustomDataSource('jaBoundaryLabelSource')
@@ -67,6 +69,7 @@
},
})
})
+ labelSource.name = 'jaBoundaryLabelSource'
viewer.dataSources.add(labelSource)
if (config.zoomTo) {
--
Gitblit v1.9.3