wangzhibo
2021-12-17 9707e3f2b23cacaa6d219f7a000865cda4ecb99c
js/function.js
@@ -103,7 +103,8 @@
      layer.options.parameters.viewparams = "userid:" + mars3d.global_variables.userid + ";regiontype:" + layer.options.regiontype + ";datetime:" + mars3d.global_variables.queryDataTStartGeo
      layer.options.getFeatureInfoParameters.viewparams = "userid:" + mars3d.global_variables.userid + ";regiontype:" + layer.options.regiontype + ";datetime:" + mars3d.global_variables.queryDataTStartGeo
      layer.reload();
    } else if ([layer.id] == 1001 && layer.options.show) {
    // } else if ([layer.id] == 1001 && layer.options.show) {
    } else if ([layer.id] == 1001) {
      var tmpguokong = map.getLayerById(1001);
      tmpguokong.clear(true);
      getGuokongPointFromServer(tmpguokong);
@@ -182,11 +183,3 @@
  }
}
function changeNullAndundefinedToEmpty(json_in) {
  for (var key in json_in) {
    if (json_in[key] == null || json_in[key] == 'null' || json_in[key] == undefined || json_in[key] == 'undefined') {
      json_in[key] = "/";
    }
  }
  return json_in;
}