Skip to content

Commit

Permalink
Merge pull request #9409 from camptocamp/backport/9393-to-master
Browse files Browse the repository at this point in the history
[Backport master] Lazy load legend images
  • Loading branch information
sbrunner authored Aug 20, 2024
2 parents 69216af + f4b8a16 commit cbe0758
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 cbe0758

Please sign in to comment.