wangrong
2021-12-17 b7fc33ac240d7f04525ce099aff478b673579927
js/function_1001.js
@@ -79,7 +79,7 @@
      speed: 10, //速度,建议取值范围1-100
      axisY: true,
    })
    mars3d.global_variables.tmpHighlightGraphic = event.graphics;
    mars3d.global_variables.tmpHighlightGraphics = event.graphics;
  });
  map.addLayer(wmsLyer);
@@ -102,8 +102,7 @@
    console.log("监听layer,单击了矢量对象", event);
    console.log(event.graphic)
    var item = event.graphic?.attr;
    //haoutil.msg('单击了:' + item['高校名称'])
    mars3d.global_variables.tmpHighlightGraphic = event.graphic;
    mars3d.global_variables.tmpHighlightGraphics = event.graphics;
  });