From c3c98a9a74c911a27fe8a6c057169dc2768d7fdd Mon Sep 17 00:00:00 2001
From: jochen
Date: Fri, 27 Nov 2026 15:07:10 +0100
Subject: [PATCH] Show the map's satellite layer from EOxCloudless, not Esri
docs/posters.md drops Esri as a source: its terms forbid how this site uses it. The GPS-trace map
now takes its satellite layer from EOX's newest Sentinel-2 mosaic, the posters' own fallback,
credited and licensed (CC BY-NC-SA 4.0) in the map's corner; the scale moves to the top left so
the two-line credit does not cover it.
Claude-Session: https://claude.ai/code/session_01NcbgfJAa38xFpzy69BWrqh
---
examples/map.html | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
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());