aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/routes')
-rw-r--r--src/frontend/app/routes/map.tsx5
-rw-r--r--src/frontend/app/routes/routes.tsx2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/frontend/app/routes/map.tsx b/src/frontend/app/routes/map.tsx
index 07a805d..a8d745e 100644
--- a/src/frontend/app/routes/map.tsx
+++ b/src/frontend/app/routes/map.tsx
@@ -111,7 +111,10 @@ export default function StopMap() {
};
const stopLayerFilter = useMemo(() => {
- const filter: any[] = ["any"];
+ const filter: any[] = [
+ "any",
+ ["==", ["get", "transitKind"], "unknown"]
+ ];
if (showCitybusStops) {
filter.push(["==", ["get", "transitKind"], "bus"]);
}
diff --git a/src/frontend/app/routes/routes.tsx b/src/frontend/app/routes/routes.tsx
index 5f02b70..6d50186 100644
--- a/src/frontend/app/routes/routes.tsx
+++ b/src/frontend/app/routes/routes.tsx
@@ -14,7 +14,7 @@ export default function RoutesPage() {
const { data: routes, isLoading } = useQuery({
queryKey: ["routes"],
- queryFn: () => fetchRoutes(["tussa", "vitrasa", "tranvias", "feve"]),
+ queryFn: () => fetchRoutes(["vitrasa", "tranvias", "tussa", "feve", "shuttle"]),
});
const filteredRoutes = routes?.filter(