diff --git a/lib/components/map/default-map.tsx b/lib/components/map/default-map.tsx index 412dc0382..00a552a81 100644 --- a/lib/components/map/default-map.tsx +++ b/lib/components/map/default-map.tsx @@ -319,6 +319,9 @@ class DefaultMap extends Component { const baseLayerUrls = baseLayersWithNames?.map((bl) => bl.url) const baseLayerNames = baseLayersWithNames?.map((bl) => bl.name) + const routeBasedTransitVehicleOverlayNameOverride = + overlays?.find((o) => o.type === 'vehicles-one-route')?.name || undefined + return ( - + { getCurrentPosition(intl)