const osm = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '© OpenStreetMap' }); const osmHOT = L.tileLayer('https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '© OpenStreetMap contributors, Tiles style by Humanitarian OpenStreetMap Team hosted by OpenStreetMap France' }); const IGNOrtho = L.tileLayer("https://wxs.ign.fr/essentiels/geoportail/wmts?" + "&REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0" + "&STYLE=normal" + "&TILEMATRIXSET=PM" + "&FORMAT=image/jpeg"+ "&LAYER=ORTHOIMAGERY.ORTHOPHOTOS"+ "&TILEMATRIX={z}" + "&TILEROW={y}" + "&TILECOL={x}", { minZoom : 0, maxZoom : 24, opacity : 0.5, attribution : "IGN-F/Geoportail", tileSize : 256 // les tuiles du GĂ©ooportail font 256x256px } );