Add initial region loading for supported systems

Expose an initialRegion field on the System GraphQL type so the app can
display the correct campus area on first load instead of a zoomed-out
default map view. Chapman University is configured with coordinates
centered on campus.

https://claude.ai/code/session_0162emnCi1KxW5FkTNn2ZrvH
This commit is contained in:
Claude
2026-03-23 22:02:42 +00:00
parent 690b2e1559
commit 946f8dd342
7 changed files with 74 additions and 0 deletions

View File

@@ -26,6 +26,12 @@ const systemInfoForTesting: InterchangeSystemBuilderArguments = {
parkingSystemId: ChapmanApiBasedParkingRepositoryLoader.id,
useSelfUpdatingEtas: false,
shuttleStopArrivalDegreeDelta: 0.001,
initialRegion: {
latitude: 33.7937,
longitude: -117.8531,
latitudeDelta: 0.01,
longitudeDelta: 0.01,
},
};
export function buildSystemForTesting() {