From 17d2e097a6bfeaa0df210a107a5c321e4e96a59c Mon Sep 17 00:00:00 2001 From: claude-dev Date: Wed, 4 Mar 2026 22:53:03 +0100 Subject: [PATCH] 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 --- src/static/dashboard.html | 12 ++++++------ src/static/js/components.js | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/static/dashboard.html b/src/static/dashboard.html index 7ff7b66..c0169c2 100644 --- a/src/static/dashboard.html +++ b/src/static/dashboard.html @@ -16,7 +16,7 @@ - + @@ -560,10 +560,10 @@ - - - - - + + + + + diff --git a/src/static/js/components.js b/src/static/js/components.js index c4caddb..cbd35fa 100644 --- a/src/static/js/components.js +++ b/src/static/js/components.js @@ -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' ? '© OSM © CARTO' : '© OpenStreetMap'; - L.tileLayer(tileUrl, { attribution, maxZoom: 18 }).addTo(this._map); + L.tileLayer(tileUrl, { attribution, maxZoom: 18, subdomains: 'abcd' }).addTo(this._map); }, updateMapTheme() {