Skip to content

Commit d517c0e

Browse files
Update tile layer source for map.js
1 parent e800e19 commit d517c0e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/js/map.js

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

20-
L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{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',
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',
2223
maxZoom: 19,
2324
opacity: 0.8,
2425
}).addTo(map);

0 commit comments

Comments
 (0)