aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/routes/map.tsx
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-02-05 13:26:18 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2026-02-05 13:26:18 +0100
commitfa3017574b830ee18cadc6bfe1cd9a465f48e555 (patch)
treedd318fd0b6901593458432086e957fa659f9443a /src/frontend/app/routes/map.tsx
parent7a680e6b1bd234d261909f77b06e58033a3824cb (diff)
Better unknown feed handling, handle UVIGO shuttle
Diffstat (limited to 'src/frontend/app/routes/map.tsx')
-rw-r--r--src/frontend/app/routes/map.tsx5
1 files changed, 4 insertions, 1 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"]);
}