From 89380e6260a75d1d3b94de687ebcc2f50d50659d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 03 Feb 2026 15:44:33 +0800
Subject: [PATCH] feat:环境变量配置调整
---
applications/drone-command/src/utils/cesium/adminBoundary.js | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/applications/drone-command/src/utils/cesium/adminBoundary.js b/applications/drone-command/src/utils/cesium/adminBoundary.js
index a533c20..25caf0d 100644
--- a/applications/drone-command/src/utils/cesium/adminBoundary.js
+++ b/applications/drone-command/src/utils/cesium/adminBoundary.js
@@ -2,14 +2,14 @@
import jaGeojsonRaw from '@/assets/geojson/ja.geojson?raw'
const DEFAULT_OPTIONS = {
- strokeColor: '#FFFFFF',
+ strokeColor: '#00F9EC',
strokeWidth: 2,
fillColor: '#FFFFFF',
fillAlpha: 0.05,
labelFont: '14px Source Han Sans CN',
labelFill: '#FFFFFF',
- labelOutline: '#000000',
- labelOutlineAlpha: 0.6,
+ labelOutline: '#18305C',
+ labelOutlineAlpha: 1,
zoomTo: true,
}
@@ -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