From 52256fd634300b39b915bf1db6020d9d2871a0b4 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Fri, 7 Nov 2025 14:58:32 +0100 Subject: Implement experimental consolidated circulation view --- src/frontend/app/data/RegionConfig.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/frontend/app/data/RegionConfig.ts') diff --git a/src/frontend/app/data/RegionConfig.ts b/src/frontend/app/data/RegionConfig.ts index 08d915f..7722170 100644 --- a/src/frontend/app/data/RegionConfig.ts +++ b/src/frontend/app/data/RegionConfig.ts @@ -5,6 +5,7 @@ export interface RegionConfig { name: string; stopsEndpoint: string; estimatesEndpoint: string; + consolidatedCirculationsEndpoint: string | null; timetableEndpoint: string | null; defaultCenter: [number, number]; // [lat, lng] bounds?: { @@ -22,6 +23,7 @@ export const REGIONS: Record = { name: "Vigo", stopsEndpoint: "/stops/vigo.json", estimatesEndpoint: "/api/vigo/GetStopEstimates", + consolidatedCirculationsEndpoint: "/api/vigo/GetConsolidatedCirculations", timetableEndpoint: "/api/vigo/GetStopTimetable", defaultCenter: [42.229188855975046, -8.72246955783102], bounds: { @@ -37,6 +39,7 @@ export const REGIONS: Record = { name: "Santiago de Compostela", stopsEndpoint: "/stops/santiago.json", estimatesEndpoint: "/api/santiago/GetStopEstimates", + consolidatedCirculationsEndpoint: null, // Not available for Santiago timetableEndpoint: null, // Not available for Santiago defaultCenter: [42.8782, -8.5448], bounds: { -- cgit v1.3