diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index dcb569f9..8e35d0a1 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -975,6 +975,7 @@ L.U.TileLayerControl = L.Control.extend({ img = L.DomUtil.create('img', '', el), name = L.DomUtil.create('div', '', el) img.src = L.Util.template(tilelayer.options.url_template, this.map.demoTileInfos) + img.loading = 'lazy' name.textContent = tilelayer.options.name L.DomEvent.on( el,