From 88db107691e73de7f2ac2a016b63419dade422da Mon Sep 17 00:00:00 2001 From: James Smith Date: Mon, 13 Apr 2026 23:03:46 +0100 Subject: [PATCH] fix(satellite): use MapUtils._buildReticle consistently in updateObserverMarker --- templates/satellite_dashboard.html | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/templates/satellite_dashboard.html b/templates/satellite_dashboard.html index 3c3b622..6ea9b84 100644 --- a/templates/satellite_dashboard.html +++ b/templates/satellite_dashboard.html @@ -2384,16 +2384,9 @@ } } - const obsIcon = L.divIcon({ - className: 'obs-marker', - html: `
`, - iconSize: [12, 12], - iconAnchor: [6, 6] - }); - - observerMarker = L.marker([lat, lon], { icon: obsIcon }) - .addTo(groundMap) - .bindPopup(`${locationLabel}
${lat.toFixed(4)}°, ${lon.toFixed(4)}°`); + observerMarker = MapUtils._buildReticle([lat, lon]); + observerMarker.addTo(groundMap); + observerMarker.bindPopup(`${locationLabel}
${lat.toFixed(4)}°, ${lon.toFixed(4)}°`); } function updateStats() {