aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/config/constants.ts
blob: 9a0fdd1e3c1bb5afa4d73bd85332083415dd0040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import type { LngLatLike } from "maplibre-gl";

export type RegionId = "vigo";

export const APP_CONSTANTS = {
  id: "vigo",

  stopsEndpoint: "/stops/vigo.json",
  consolidatedCirculationsEndpoint: "/api/vigo/GetConsolidatedCirculations",
  shapeEndpoint: "/api/vigo/GetShape",
  defaultCenter: {
    lat: 42.229188855975046,
    lng: -8.72246955783102,
  } as LngLatLike,
  bounds: {
    sw: [-9.629517, 41.463312] as LngLatLike,
    ne: [-6.289673, 43.711564] as LngLatLike,
  },
  textColour: "#e72b37",
  defaultZoom: 14,
  showMeters: true,
};