Change map
authorRadek Czajka <rczajka@rczajka.pl>
Tue, 13 Oct 2026 10:07:58 +0000 (12:07 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Tue, 13 Oct 2026 10:07:58 +0000 (12:07 +0200)
src/references/templates/references/onepager.html
src/wolnelektury/static/js/book_text/references.js

index e2581d4..1c6d9b4 100644 (file)
     const map = L.map(mapEl, {
         attributionControl:false,
     }).setView([lat, lon], 11);
-    L.tileLayer('https://tile.thunderforest.com/cycle/{z}/{x}/{y}@2x.png?apikey=a8a97f0ae5134403ac38c1a075b03e15').addTo(map);
+    L.tileLayer('https://tile.thunderforest.com/atlas/{z}/{x}/{y}@2x.png?apikey=a8a97f0ae5134403ac38c1a075b03e15').addTo(map);
     L.marker([lat, lon]).addTo(map);
     setTimeout(() => map.invalidateSize(), 200);
   }
index cd782c8..baaa8d3 100644 (file)
@@ -21,7 +21,7 @@
         if (map_enabled) return;
 
         map = L.map('reference-map').setView([0, 0], 11);
-        L.tileLayer('https://tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=a8a97f0ae5134403ac38c1a075b03e15', {
+        L.tileLayer('https://tile.thunderforest.com/atlas/{z}/{x}/{y}.png?apikey=a8a97f0ae5134403ac38c1a075b03e15', {
             attribution: 'Maps © <a href="http://www.thunderforest.com">Thunderforest</a>, Data © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>'
         }).addTo(map);
         marker = L.circleMarker([0,0]);