From e2f341b73943753e6ea96cf6d85a09ce070e2ee1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 07 Apr 2023 10:46:03 +0800
Subject: [PATCH] 社区、电子沙盘

---
 src/components/map/index.vue |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index e332d73..018140f 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -2,7 +2,7 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2022-08-18 17:00:30
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2023-04-06 17:27:53
+ * @LastEditTime: 2023-04-06 18:45:53
  * @FilePath: \srs-police-affairs\src\components\map\index.vue
  * @Description: 公用地图组件
  * 
@@ -274,8 +274,6 @@
             // })
             // layer.addOverlay(wall)
 
-
-
             // 判断是否支持图像渲染像素化处理
             if (global.DC.Namespace.Cesium.FeatureDetection.supportsImageRenderingPixelated()) {
                 global.viewer.setOptions({
@@ -289,7 +287,7 @@
             // global.viewer.addTerrain(terrain)
 
             // 内网
-            that.switchImg()
+            // that.switchImg()
 
             // 外网
             global.viewer.imageryLayers.addImageryProvider(
@@ -615,8 +613,7 @@
          */
         highOrLightChange (type, status = '') {
             this.$EventBus.$emit('showHouseingTileset', {
-                curType: this.tilesetLayerType,
-                type,
+                type: 'remove'
             })
 
             label.forEach(item => {
@@ -643,8 +640,7 @@
                     })
 
                 this.$EventBus.$emit('showHouseingTileset', {
-                    curType: this.tilesetLayerType,
-                    type,
+                    type: 'add'
                 })
             }
         },

--
Gitblit v1.9.3