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() {