From 75c5c3a056f8d8db2021c466f19e19ff4492c49b Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期五, 18 四月 2025 17:57:11 +0800 Subject: [PATCH] 修改 --- src/views/mnfz.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/mnfz.vue b/src/views/mnfz.vue index 55e1e4a..944ac04 100644 --- a/src/views/mnfz.vue +++ b/src/views/mnfz.vue @@ -61,7 +61,11 @@ const list = MaxInfluenceAreaList.value; list.forEach((item, index) => { const geosjon = geomToGeoJSON(item.geom); - Cesium.GeoJsonDataSource.load(geosjon).then((dataSource) => { + Cesium.GeoJsonDataSource.load(geosjon, { + stroke: Cesium.Color.RED, // 杈规棰滆壊 + strokeWidth: 2, // 杈规瀹藉害 + fill: Cesium.Color.RED.withAlpha(0.5), // 濉厖棰滆壊锛堝甫閫忔槑搴︼級 + }).then((dataSource) => { viewer.dataSources.add(dataSource); dataSources.push(dataSource); }); @@ -80,6 +84,7 @@ checkedKeys.value = ["閬块櫓鐐�"]; showDebuffDetail.value = true; getTimeMarkers(); + } } function openDetail() { -- Gitblit v1.9.3