| | |
| | | } |
| | | |
| | | } |
| | | function addGraphictoHighlightLayer() { |
| | | mars3d.global_variables.tmpHighlightGraphicLayer.addGraphic(mars3d.global_variables.tmpHighlightGraphic); |
| | | |
| | | function addGraphictoHighlightLayer() { |
| | | mars3d.global_variables.tmpHighlightGraphic.forEach((item) => { |
| | | mars3d.global_variables.tmpHighlightGraphicLayer.addGraphic(item); |
| | | }); |
| | | } |
| | | |
| | | function addHighlightLayerClearButton() { |
| | |
| | | speed: 10, //速度,建议取值范围1-100 |
| | | axisY: true, |
| | | }) |
| | | mars3d.global_variables.tmpHighlightGraphic = event.graphic; |
| | | mars3d.global_variables.tmpHighlightGraphic = event.graphics; |
| | | }); |
| | | |
| | | map.addLayer(wmsLyer); |