diff --git a/templates/portal/overview.html b/templates/portal/overview.html index 57539be..acd82f6 100644 --- a/templates/portal/overview.html +++ b/templates/portal/overview.html @@ -81,14 +81,18 @@ const withCoords = LOCATIONS.filter(l => l.coordinates); if (withCoords.length) { const mapEl = document.getElementById('loc-map'); mapEl.classList.remove('hidden'); - const map = L.map('loc-map'); + const map = L.map('loc-map', { scrollWheelZoom: false }); L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '© OpenStreetMap' }).addTo(map); const pts = []; withCoords.forEach(l => { const [la, lo] = (l.coordinates || '').split(',').map(Number); if (!isNaN(la) && !isNaN(lo)) { - L.marker([la, lo]).addTo(map).bindPopup(l.name); + // Same dot style as the internal project map (circleMarker, not a pin). + L.circleMarker([la, lo], { + radius: 8, fillColor: '#f48b1c', color: '#fff', + weight: 2, opacity: 1, fillOpacity: 0.9, + }).addTo(map).bindTooltip(l.name, { direction: 'top', offset: [0, -6] }); pts.push([la, lo]); } });