zhaoxing
2022-03-15 2d721180b679d827c97c3d7456b053e0d970c398
widgetsTS/widget_grid/widget.js
@@ -34,11 +34,11 @@
    //每个窗口创建完成后调用
    winCreateOK(opt, result) {
      //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.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;
    }
@@ -87,9 +87,9 @@
      //this.grid_1000.show = false;
      //this.grid_3000.show = false;
      //this.grid_5000.show = false;
      //this.heatmapGroupLayer.getLayers().forEach(layer => {
      //  layer.show= false;
      //});
      this.heatmapGroupLayer.getLayers().forEach(layer => {
       layer.show= false;
      });
    }
    update_grid_style(new_style) {