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

@@ -16,7 +16,7 @@
<link rel="stylesheet" href="/static/vendor/leaflet.css"> <link rel="stylesheet" href="/static/vendor/leaflet.css">
<link rel="stylesheet" href="/static/vendor/MarkerCluster.css"> <link rel="stylesheet" href="/static/vendor/MarkerCluster.css">
<link rel="stylesheet" href="/static/vendor/MarkerCluster.Default.css"> <link rel="stylesheet" href="/static/vendor/MarkerCluster.Default.css">
<link rel="stylesheet" href="/static/css/style.css?v=20260304g"> <link rel="stylesheet" href="/static/css/style.css?v=20260304h">
</head> </head>
<body> <body>
<a href="#main-content" class="skip-link">Zum Hauptinhalt springen</a> <a href="#main-content" class="skip-link">Zum Hauptinhalt springen</a>
@@ -560,10 +560,10 @@
<script src="https://cdn.jsdelivr.net/npm/gridstack@12/dist/gridstack-all.js"></script> <script src="https://cdn.jsdelivr.net/npm/gridstack@12/dist/gridstack-all.js"></script>
<script src="/static/vendor/leaflet.js"></script> <script src="/static/vendor/leaflet.js"></script>
<script src="/static/vendor/leaflet.markercluster.js"></script> <script src="/static/vendor/leaflet.markercluster.js"></script>
<script src="/static/js/api.js?v=20260304g"></script> <script src="/static/js/api.js?v=20260304h"></script>
<script src="/static/js/ws.js?v=20260304g"></script> <script src="/static/js/ws.js?v=20260304h"></script>
<script src="/static/js/components.js?v=20260304g"></script> <script src="/static/js/components.js?v=20260304h"></script>
<script src="/static/js/layout.js?v=20260304g"></script> <script src="/static/js/layout.js?v=20260304h"></script>
<script src="/static/js/app.js?v=20260304g"></script> <script src="/static/js/app.js?v=20260304h"></script>
</body> </body>
</html> </html>

Datei anzeigen

@@ -745,13 +745,13 @@ const UI = {
const theme = document.documentElement.getAttribute('data-theme') || 'dark'; const theme = document.documentElement.getAttribute('data-theme') || 'dark';
const tileUrl = 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'; : 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
const attribution = theme === 'dark' 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">OSM</a> &copy; <a href="https://carto.com/">CARTO</a>'
: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</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() { updateMapTheme() {