Fix: Graue Karte - {r} aus Tile-URL entfernt

- {r} (Retina-Platzhalter) wurde nicht ersetzt und blieb literal in URL
- subdomains: 'abcd' explizit fuer CartoDB gesetzt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Dieser Commit ist enthalten in:
claude-dev
2026-03-04 22:53:03 +01:00
Ursprung 248536f1d5
Commit 17d2e097a6
2 geänderte Dateien mit 8 neuen und 8 gelöschten Zeilen

Datei anzeigen

@@ -745,13 +745,13 @@ const UI = {
const theme = document.documentElement.getAttribute('data-theme') || 'dark';
const tileUrl = theme === 'dark'
? 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png'
? 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png'
: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
const attribution = theme === 'dark'
? '&copy; <a href="https://www.openstreetmap.org/copyright">OSM</a> &copy; <a href="https://carto.com/">CARTO</a>'
: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>';
L.tileLayer(tileUrl, { attribution, maxZoom: 18 }).addTo(this._map);
L.tileLayer(tileUrl, { attribution, maxZoom: 18, subdomains: 'abcd' }).addTo(this._map);
},
updateMapTheme() {