Switch map tiles to Stadia Maps Alidade Smooth Dark

This commit is contained in:
Astra 2026-06-04 08:03:37 +01:00
parent c41a2c5411
commit b441b82a17

View file

@ -511,9 +511,9 @@
// ── Map ─────────────────────────────────────────────────────────────────────── // ── Map ───────────────────────────────────────────────────────────────────────
const map = L.map('map', { zoomControl: true }).setView([20, 0], 2); const map = L.map('map', { zoomControl: true }).setView([20, 0], 2);
L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', { L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> &copy; <a href="https://carto.com/">CARTO</a>', attribution: '&copy; <a href="https://stadiamaps.com/">Stadia Maps</a> &copy; <a href="https://openmaptiles.org/">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',
maxZoom: 19 maxZoom: 20
}).addTo(map); }).addTo(map);
let trackLayer = null, markerStart = null, markerEnd = null, pointsLayer = null; let trackLayer = null, markerStart = null, markerEnd = null, pointsLayer = null;