From 873a036d4d635d8d8f7c2979553a52fa37ad6609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=95=E5=B5=A9?= <17854119262@163.com> Date: Tue, 15 Jul 2025 09:52:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AA=92=E4=BD=93=E5=BA=93-=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E3=80=81=E6=A0=87=E6=B3=A8=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E7=89=88-=E4=BF=AE=E6=94=B9=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/demo/system/mediaLibrary/path/pathMap.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/views/demo/system/mediaLibrary/path/pathMap.vue b/src/views/demo/system/mediaLibrary/path/pathMap.vue index 4161975..5be166b 100644 --- a/src/views/demo/system/mediaLibrary/path/pathMap.vue +++ b/src/views/demo/system/mediaLibrary/path/pathMap.vue @@ -1503,6 +1503,7 @@ if (graphicLayer.options.id == props.nowShowAreaData.id) { graphicLayer.setStyle({ label: { + text: props.nowShowAreaData.name, color: graphicLayer.options.style.color, }, }); @@ -1572,6 +1573,15 @@ }, ); + watch( + () => area_noland_PolygonGraphicData, + () => { + console.log(area_noland_PolygonGraphicData); + }, + { + deep: true, + }, + ); // 地图作业区域-初始化-遍历展示 function showAllAreaDataList() { // 删除旧数据 @@ -1608,6 +1618,7 @@ // 地图作业区域-禁降区-线 if (item.type == 'noland' && item.geomtype == 'Polygon') { let nolandPolygonGraphic = new mars3d.graphic.PolygonEntity({ + id: item.id, positions: item.coordinates, style: { clampToGround: item.properties.clampToGround,