wangzhibo
2022-03-14 1589665726b4bb86b84b7c536038aa14afef7b6e
bug fix  - grid 500 show and false
1个文件已修改
24 ■■■■■ 已修改文件
widgetsTS/widget_grid/widget.js 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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) {