Skip to content

Commit

Permalink
Merge pull request #9393 from camptocamp/lazy-load-legend-images
Browse files Browse the repository at this point in the history
Lazy load legend images
  • Loading branch information
arnaud-morvan authored Aug 20, 2024
2 parents 8a24673 + 1ae86b1 commit 03f6cc0
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 03f6cc0

Please sign in to comment.