diff --git a/examples/map.html b/examples/map.html index 931a0e4..10c046e 100644 --- a/examples/map.html +++ b/examples/map.html @@ -35,7 +35,7 @@ Each layout was traced by GPS along the track. Its geojson format is that trace: a GeoJSON FeatureCollection holding one LineString of [longitude, latitude] points. Any map library draws it as it comes; this page uses Leaflet. Switch to the - satellite layer to see the trace follow the tarmac. + satellite layer (EOxCloudless, Sentinel-2 at 10 m) to see the trace over the ground.

@@ -98,13 +98,18 @@ maxZoom: 19, attribution: '© OpenStreetMap contributors', }).addTo(map); - const satellite = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', { + // EOxCloudless, the newest Sentinel-2 mosaic (10 m): the satellite source the posters use where no photo or national + // aerial photo exists (docs/posters.md). Tiles past zoom 15 are the same pixels, so Leaflet scales them up. + const satellite = L.tileLayer('https://tiles.maps.eox.at/wmts/1.0.0/s2cloudless-2025_3857/default/g/{z}/{y}/{x}.jpg', { maxZoom: 19, - maxNativeZoom: 18, - attribution: 'Imagery © Esri, Maxar, Earthstar Geographics', + maxNativeZoom: 15, + attribution: 'EOxCloudless https://cloudless.eox.at by EOX IT Services GmbH' + + ' (Contains modified Copernicus Sentinel data 2025),' + + ' CC BY-NC-SA 4.0', }); - L.control.layers({ 'OpenStreetMap': osm, 'Satellite (Esri)': satellite }).addTo(map); - L.control.scale({ imperial: false }).addTo(map); + L.control.layers({ 'OpenStreetMap': osm, 'Satellite (EOxCloudless 2025)': satellite }).addTo(map); + // Top left: EOxCloudless's credit runs over two lines at the foot, where it would cover the scale. + L.control.scale({ imperial: false, position: 'topleft' }).addTo(map); map.on('focus', () => map.scrollWheelZoom.enable()); map.on('blur', () => map.scrollWheelZoom.disable());