zhaoxing
2022-03-15 0e0177ec4ca46615cafcbbbd1f2c8912df6ef8ca
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;
    }
@@ -75,7 +75,9 @@
    //打开激活
    activate() {
      this.heatmapGroupLayer.getLayers().forEach(layer => {
         layer.show= false;
      });
    }
    changeCamerView(gridlevel) {
@@ -87,9 +89,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) {