From 08506e7fceeed0fa15ba90af8471f3576caf5811 Mon Sep 17 00:00:00 2001 From: wulitaotao <547306458@qq.com> Date: 星期六, 25 二月 2023 14:43:02 +0800 Subject: [PATCH] 点漫游、路径分析 --- src/views/Synthesis/LeftMenu.vue | 8 +++++++- public/globle/globle.js | 5 ++++- src/components/mapsdk.vue | 1 + src/views/Synthesis/analyse.vue | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/public/globle/globle.js b/public/globle/globle.js index 867e4c2..0c7bb13 100644 --- a/public/globle/globle.js +++ b/public/globle/globle.js @@ -18,12 +18,15 @@ window.TSExcavation.deleteObject(); window.TSExcavation = null; } -} + //鐐规极娓� if (window.PointMY) { window.PointMY.drawHandler && window.PointMY.drawHandler.destroy(); window.PointMY.end && window.PointMY.end(); } + +} + window.XZOutlie = "dlg_100w_boua"; //1:100涓囪鏀块潰layer鍚嶇О window.ImageLayer3 = null;//1:100涓囪鏀块潰鍥惧眰 diff --git a/src/components/mapsdk.vue b/src/components/mapsdk.vue index 48eda19..ac27717 100644 --- a/src/components/mapsdk.vue +++ b/src/components/mapsdk.vue @@ -430,6 +430,7 @@ this.showPathAnalysisBoxDialog = true; } else { this.showPathAnalysisBoxDialog = false; + this.closeBufferBox(4); } } } diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue index 22bdc1d..214d6ed 100644 --- a/src/views/Synthesis/LeftMenu.vue +++ b/src/views/Synthesis/LeftMenu.vue @@ -1157,16 +1157,20 @@ PDelevationTool.render(); break; case "d3": //璺緞鍒嗘瀽 + this.isRouter = !this.isRouter; let value; if (this.isRouter) { value = { name: "Analysis", id: 3, + show:true }; } else { value = { - name: "close", + name: "Analysis", + id: 3, + show:false }; } this.$bus.$emit("mapChangeBox", value); @@ -1455,7 +1459,9 @@ ); }, setWander(res) { + debugger; switch (res) { + case "c1": if (window.PointMY != null) { window.PointMY.drawHandler && window.PointMY.drawHandler.destroy(); diff --git a/src/views/Synthesis/analyse.vue b/src/views/Synthesis/analyse.vue index 589befa..0933c99 100644 --- a/src/views/Synthesis/analyse.vue +++ b/src/views/Synthesis/analyse.vue @@ -305,6 +305,7 @@ polygon: Cesium.Color.fromCssColorString('#ffff00').withAlpha(0.6), }; }, + }; </script> -- Gitblit v1.9.3