Switch map tiles to Stadia Maps Alidade Smooth Dark
This commit is contained in:
parent
c41a2c5411
commit
b441b82a17
1 changed files with 3 additions and 3 deletions
|
|
@ -511,9 +511,9 @@
|
||||||
// ── Map ───────────────────────────────────────────────────────────────────────
|
// ── Map ───────────────────────────────────────────────────────────────────────
|
||||||
const map = L.map('map', { zoomControl: true }).setView([20, 0], 2);
|
const map = L.map('map', { zoomControl: true }).setView([20, 0], 2);
|
||||||
|
|
||||||
L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', {
|
L.tileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.png', {
|
||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> © <a href="https://carto.com/">CARTO</a>',
|
attribution: '© <a href="https://stadiamaps.com/">Stadia Maps</a> © <a href="https://openmaptiles.org/">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',
|
||||||
maxZoom: 19
|
maxZoom: 20
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
let trackLayer = null, markerStart = null, markerEnd = null, pointsLayer = null;
|
let trackLayer = null, markerStart = null, markerEnd = null, pointsLayer = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue