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 Jul 16, 2024
1 parent 9c5aafc commit 1ae86b1
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 1ae86b1

Please sign in to comment.