diff --git a/frontend/components/media/MediaMap.vue b/frontend/components/media/MediaMap.vue index 771bb5bdf..513b5a679 100644 --- a/frontend/components/media/MediaMap.vue +++ b/frontend/components/media/MediaMap.vue @@ -12,6 +12,7 @@ import MapLibreGlDirections, { import maplibregl, { type Map } from "maplibre-gl"; import "maplibre-gl/dist/maplibre-gl.css"; + const props = defineProps<{ markerColors: string[]; eventNames: string[]; @@ -60,10 +61,10 @@ interface RouteProfileOption { } const routeProfileOptions: RouteProfileOption = { - FOOT: "foot", - BIKE: "bike", - DRIVING: "driving", - CAR: "car", + FOOT: "components.media_map_foot", + BIKE: "components.media_map_bike", + DRIVING: "components.media_map_driving", + CAR: "components.media_map_car", }; interface RouteProfile { @@ -91,7 +92,7 @@ const routeProfileMap: RouteProfile[] = [ const walkingRouteProfileControl = `