Skip to content

Commit

Permalink
Lazy load legend images
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-morvan committed Aug 20, 2024
1 parent 69216af commit f4b8a16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/layertree/component.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<img
ng-if="::(legendIconUrl=gmfLayertreeCtrl.getLegendIconURL(layertreeCtrl))"
ng-src="{{::legendIconUrl}}"
loading="lazy"
/>
</div>
</a>
Expand Down

0 comments on commit f4b8a16

Please sign in to comment.