diff --git a/frontend/src/pages/TrackPage/TrackMap.tsx b/frontend/src/pages/TrackPage/TrackMap.tsx index cc7116c..e2cc3ef 100644 --- a/frontend/src/pages/TrackPage/TrackMap.tsx +++ b/frontend/src/pages/TrackPage/TrackMap.tsx @@ -85,11 +85,12 @@ function pointStyleFunction(feature, resolution) { }) } -function PointLayer({features, title, visible}) { - return +function PointLayer({features, title, visible, zIndex}) { + return ( + + ) } - const trackStroke = new Stroke({width: 4, color: 'rgb(30,144,255)'}) const trackLayerStyle = new Style({stroke: trackStroke}) @@ -201,8 +202,7 @@ export default function TrackMap({trackData, show, ...props}: {trackData: TrackD return ( - + - - + +