cshenfu
2022-10-28 cdd61fe225ec02defd5707acbc5727fcadb9c7e8
js/function.js
@@ -58,6 +58,7 @@
  } else {
    min = 45
  }
  return year + "-" +
    ((month + 1) > 9 ? (month + 1) : "0" + (month + 1)) + "-" +
    (day > 9 ? day : ("0" + day)) + " " +
@@ -133,8 +134,6 @@
function reLoadLayers() {
  var layers = map.getLayers({ layers: true });
  layers.forEach((layer) => {
    // console.log(layer.name + ":" + layer.type);
    if ([layer.type] == 'wms') {
      layer.options.layers = "konglu_58:" + layer.options.geoname_prefix + mars3d.global_variables.queryDataType;
      layer.options.parameters.viewparams = "userid:" + mars3d.global_variables.userid + ";regiontype:" + layer.options.regiontype + ";datetime:" + mars3d.global_variables.queryDataTStartGeo
@@ -189,7 +188,6 @@
function addGraphictoHighlightLayer() {
  mars3d.global_variables.tmpHighlightGraphics.forEach((item) => {
    mars3d.global_variables.tmpHighlightGraphicLayer.addGraphic(item);
    console.log(item,"高亮")
  });
}