From d2bf4ef34364303e06ba61112dbde7e33f7ee408 Mon Sep 17 00:00:00 2001 From: Matteo Mattiuzzi Date: Sat, 19 Sep 2026 19:32:56 +0000 Subject: [PATCH] ui: default the map basemap to OSM instead of CARTO --- earthgrid-core/assets/beacon.html | 2 +- earthgrid-core/assets/ui.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/earthgrid-core/assets/beacon.html b/earthgrid-core/assets/beacon.html index a80108d..cba90da 100644 --- a/earthgrid-core/assets/beacon.html +++ b/earthgrid-core/assets/beacon.html @@ -165,7 +165,7 @@

🛰️ Spatial Coverage

const osmLayer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, }); - darkLayer.addTo(covMap); + osmLayer.addTo(covMap); L.control.layers({'Dark': darkLayer, 'Light': lightLayer, 'OSM': osmLayer}, null, {position: 'topright'}).addTo(covMap); // Legend diff --git a/earthgrid-core/assets/ui.html b/earthgrid-core/assets/ui.html index a585df7..4485425 100644 --- a/earthgrid-core/assets/ui.html +++ b/earthgrid-core/assets/ui.html @@ -930,7 +930,7 @@ const osmTile = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '\u00a9 OSM', maxZoom: 19 }); - darkTile.addTo(_fetchMap); + osmTile.addTo(_fetchMap); L.control.layers({'Dark': darkTile, 'Light': lightTile, 'OSM': osmTile}, null, {position: 'topright'}).addTo(_fetchMap); const drawnItems = new L.FeatureGroup();