Changing the overlays order so that controls are on top of tracks.

This commit is contained in:
Eric van der Vlist 2022-09-03 23:39:58 +02:00
parent f7b59e5ead
commit b01870d234
1 changed files with 2 additions and 2 deletions

View File

@ -134,13 +134,13 @@ const LiveMap: react.FC = () => {
}}
animate={true}
>
<ZoomControl />
<Marker width={20} anchor={position} />
<GPXOverlay
mapState={undefined}
latLngToPixel={undefined}
track={track}
/>
<Marker width={20} anchor={position} />
<ZoomControl />
</Map>
);
};