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:
@@ -11,3 +11,10 @@ export interface ICoordinates {
|
||||
longitude: number;
|
||||
}
|
||||
|
||||
export interface IRegion {
|
||||
latitude: number;
|
||||
longitude: number;
|
||||
latitudeDelta: number;
|
||||
longitudeDelta: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user