From 6995a96cc2380db13bb2295de107294258ae4c63 Mon Sep 17 00:00:00 2001 From: WX <1377869194@qq.com> Date: 星期一, 04 九月 2023 17:49:08 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.20.92:8888/r/PM20230220027_Web --- src/assets/js/Map/menuTool.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/assets/js/Map/menuTool.js b/src/assets/js/Map/menuTool.js index 4e5d98e..66dfe8e 100644 --- a/src/assets/js/Map/menuTool.js +++ b/src/assets/js/Map/menuTool.js @@ -309,6 +309,7 @@ case "l3": //鍦ㄧ嚎鍒跺浘 store.state.isShowMap = true; this.setThematicMap(); + break; case "l4": store.state.isShowMap = true; @@ -323,11 +324,17 @@ }, thematicTools(res) { switch (res.id) { + case "t1": + store.state.setLayerManager = !store.state.setLayerManager; + break; case "t2": this.createSimpleGraphic("rectangle", "square"); break; case "t3": this.delRectangle(); + break; + case "t4": + store.state.setExportList = !store.state.setExportList break; } }, @@ -360,6 +367,9 @@ var north1 = ss[3]; var south1 = ss[1]; var geometry = Cesium.Rectangle.fromDegrees(west1, south1, east1, north1); + + + Viewer.camera.setView({ destination: Cesium.Rectangle.fromDegrees(west, south, east, north), }); @@ -387,6 +397,7 @@ // var handle = new SmartEarth.Cesium.ScreenSpaceEventHandler( // earthCtrl.viewer.scene.canvas // ); + }, //鍧愭爣瀹氫綅 @@ -422,6 +433,7 @@ window.rightViewer.scene.skyAtmosphere.show = false; const compass = document.getElementsByClassName("bottom_btn")[0]; compass.style.right = "calc(50% + 70px)"; + compass.style.positions = "absolute"; store.state.doubleMap = true; setTimeout(() => { window.functionGetLayer({ -- Gitblit v1.9.3