Working on drawer and header

This commit is contained in:
2025-04-17 18:20:54 -04:00
parent 3aa8954626
commit 20d5bf26de
7 changed files with 197 additions and 72 deletions

View File

@@ -28,10 +28,10 @@ export default function AirportMarker({
eventHandlers={{
click: () => setAirport(airport),
mouseover: () => markerRef.current?.openPopup(),
mouseout: () => markerRef.current?.closePopup()
mouseout: () => markerRef.current?.closePopup(),
}}
>
<Popup closeButton={false} autoPan={false}>
<Popup closeButton={false} autoPan={false} interactive={false}>
{airport.icao} - {airport.name}
</Popup>
</Marker>
@@ -47,7 +47,7 @@ function createCustomIcon(airport: Airport, selectedLayer: LayerInfo): L.DivIcon
height: 14px;
border-radius: 50%;
border: 2px solid black;
background-color: ${selectedLayer.markerOutline};
background-color: white;
display: flex;
align-items: center;
justify-content: center;