From fba0b4cdc5d070394fc64b34d9e50ca65c23e0a6 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Fri, 07 Apr 2023 17:55:40 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/srs-police-affairs

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

diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index 3338d7e..6da7925 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 14:37:40
+ * @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'
                 })
             }
         },
@@ -808,8 +804,6 @@
         mapRemovePolygon (layerName, overlay, type) {
             if (type == 'VectorLayer') {
                 if (layersObjcect[layerName] && layersObjcect[layerName] != null) {
-
-                    console.log(overlay, 555)
                     layersObjcect[layerName].removeOverlay(overlay)
                 }
             }

--
Gitblit v1.9.3