From 1589665726b4bb86b84b7c536038aa14afef7b6e Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期一, 14 三月 2022 13:42:30 +0800
Subject: [PATCH] bug fix  - grid 500 show and false

---
 widgetsTS/widget_grid/widget.js |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/widgetsTS/widget_grid/widget.js b/widgetsTS/widget_grid/widget.js
index 55b06ff..c1f7207 100644
--- a/widgetsTS/widget_grid/widget.js
+++ b/widgetsTS/widget_grid/widget.js
@@ -34,10 +34,10 @@
 
     //姣忎釜绐楀彛鍒涘缓瀹屾垚鍚庤皟鐢�
     winCreateOK(opt, result) {
-      this.grid_500.show = true;
-      this.grid_1000.show = true;
-      this.grid_3000.show = true;
-      this.grid_5000.show = true;
+      //this.grid_500.show = true;
+      //this.grid_1000.show = true;
+      //this.grid_3000.show = true;
+      //this.grid_5000.show = true;
       //this.map.setCameraView(mars3d.global_variables.grid_camerview.grid5000);
       this.datatype = mars3d.global_variables.queryDataType;
       this.datatime = mars3d.global_variables.queryDataTStart;
@@ -52,7 +52,7 @@
     }
 
     hideGridmapLayers() {
-      this.grid_500.show = true;
+      this.grid_500.show = false;
       this.grid_1000.show = false;
       this.grid_3000.show = false;
       this.grid_5000.show = false;
@@ -83,13 +83,13 @@
     }
     //鍏抽棴閲婃斁
     disable() {
-      this.grid_500.show = true;
-      this.grid_1000.show = false;
-      this.grid_3000.show = false;
-      this.grid_5000.show = false;
-      this.heatmapGroupLayer.getLayers().forEach(layer => {
-        layer.show= false;
-      });
+      //this.grid_500.show = false;
+      //this.grid_1000.show = false;
+      //this.grid_3000.show = false;
+      //this.grid_5000.show = false;
+      //this.heatmapGroupLayer.getLayers().forEach(layer => {
+      //  layer.show= false;
+      //});
     }
 
     update_grid_style(new_style) {

--
Gitblit v1.9.1