aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/config/RegionConfig.ts
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-11-21 10:53:03 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-11-21 10:53:03 +0100
commit7061660e7d475fe3ed016858a49a0c9b7ba10c18 (patch)
tree3b27e96d7a6d2148ab7cccc3785e3c000342a796 /src/frontend/app/config/RegionConfig.ts
parent4fcf9ad479441e7661933b954cc878355bde1e5d (diff)
Show path from bus position to terminus
Diffstat (limited to 'src/frontend/app/config/RegionConfig.ts')
-rw-r--r--src/frontend/app/config/RegionConfig.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/app/config/RegionConfig.ts b/src/frontend/app/config/RegionConfig.ts
index 8acfbbf..a6ffdf8 100644
--- a/src/frontend/app/config/RegionConfig.ts
+++ b/src/frontend/app/config/RegionConfig.ts
@@ -7,6 +7,7 @@ export interface RegionConfig {
estimatesEndpoint: string;
consolidatedCirculationsEndpoint: string | null;
timetableEndpoint: string | null;
+ shapeEndpoint: string | null;
defaultCenter: [number, number]; // [lat, lng]
bounds?: {
sw: [number, number];
@@ -25,6 +26,7 @@ export const REGIONS: Record<RegionId, RegionConfig> = {
estimatesEndpoint: "/api/vigo/GetStopEstimates",
consolidatedCirculationsEndpoint: "/api/vigo/GetConsolidatedCirculations",
timetableEndpoint: "/api/vigo/GetStopTimetable",
+ shapeEndpoint: "/api/vigo/GetShape",
defaultCenter: [42.229188855975046, -8.72246955783102],
bounds: {
sw: [-8.951059, 42.098923],