diff --git a/public/index.html b/public/index.html index 43cac58..154edac 100644 --- a/public/index.html +++ b/public/index.html @@ -1511,7 +1511,7 @@ // ============================================ // LEAFLET MAP COMPONENT // ============================================ - const WorldMap = ({ deLocation, dxLocation, onDXChange, potaSpots, mySpots, dxPaths, satellites, showDXPaths, showPOTA, showSatellites }) => { + const WorldMap = ({ deLocation, dxLocation, onDXChange, potaSpots, mySpots, dxPaths, satellites, showDXPaths, showPOTA, showSatellites, onToggleSatellites }) => { const mapRef = useRef(null); const mapInstanceRef = useRef(null); const tileLayerRef = useRef(null); @@ -1990,6 +1990,33 @@ ))} + {/* Satellite toggle button */} + {onToggleSatellites && ( + + )} + {/* Map Legend - Bottom of map */}
@@ -3481,6 +3509,7 @@ showDXPaths={mapLayers.showDXPaths} showPOTA={mapLayers.showPOTA} showSatellites={mapLayers.showSatellites} + onToggleSatellites={toggleSatellites} />