From 8a368655576fd4eb3f517610aa8b30d633f1ea84 Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期三, 23 四月 2025 16:26:25 +0800 Subject: [PATCH] change --- src/utils/area_all.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/area_all.js b/src/utils/area_all.js index 37919c5..11e8345 100644 --- a/src/utils/area_all.js +++ b/src/utils/area_all.js @@ -16,11 +16,11 @@ // 鑾峰彇 GeoJSON 涓殑 Polygon feature return dataSourcePromise.then(function (dataSource) { viewer.dataSources.add(dataSource); - console.log("GeoJSON data loaded:", dataSource); + // console.log("GeoJSON data loaded:", dataSource); areaDataSource.push(dataSource); const polygonEntity = dataSource.entities.values; - console.log("Entities in dataSource:", polygonEntity); + // console.log("Entities in dataSource:", polygonEntity); // 鍒濆鍖栨晥鏋� applyPolygonEffects(polygonEntity, color); @@ -33,7 +33,7 @@ } function applyPolygonEffects(entities, color) { - console.log("Applying polygon effects..."); + // console.log("Applying polygon effects..."); entities.forEach(entity => { entity.polygon.heightReference = Cesium.HeightReference.NONE; entity.polygon.material = new Cesium.ColorMaterialProperty(color); // 璁剧疆濉厖棰滆壊 @@ -44,7 +44,7 @@ if (!viewer.entities.getById(entity.id)) { viewer.entities.add(entity); } - console.log("Effect applied to entity:", entity.id); + // console.log("Effect applied to entity:", entity.id); }); } -- Gitblit v1.9.3