Skip to content

Commit b503a86

Browse files
Replace tile layer with Stadia Maps tiles
1 parent d517c0e commit b503a86

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/js/map.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ const map = L.map('map', {
1717
maxBoundsViscosity: 1.0,
1818
}).setView([48.37, 31.16], 5); // centred on Ukraine
1919

20-
L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}{r}.png', {
21-
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>',
22-
subdomains: 'abcd',
20+
L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark_no_labels/{z}/{x}/{y}{r}.png', {
21+
attribution: '© <a href="https://stadiamaps.com/">Stadia Maps</a>, © <a href="https://openmaptiles.org/">OpenMapTiles</a> © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
2322
maxZoom: 19,
2423
opacity: 0.8,
2524
}).addTo(map);

0 commit comments

Comments
 (0)