Use humanitarian instead of carto tiles

This commit is contained in:
zyphlar
2026-10-13 11:53:28 -07:00
parent 7ce73f19c5
commit 4b2ac03522
2 changed files with 8 additions and 6 deletions
+4 -3
View File
@@ -5,9 +5,10 @@
function initBaseMap(elementId, view, zoom) {
const map = L.map(elementId).setView(view || [28.7, -81.7], 12);
L.tileLayer('https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', {
attribution: '© OpenStreetMap contributors © CARTO',
subdomains: 'abcd',
L.tileLayer('https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
attribution: '© OpenStreetMap contributors, Tiles style by Humanitarian OpenStreetMap Team hosted by OpenStreetMap France',
subdomains: 'abc',
maxNativeZoom: 19,
maxZoom: 20
}).addTo(map);