How kaidenpollesch/glcc-navigator works
GLCC Navigator is an offline-first mobile campus navigation app. Visitors select a point of interest, choose a travel mode and accessibility preferences, and view an on-device route over the campus map. Separate product branches support POI search, offline map downloads, and dynamic content; administrators can edit POIs and trace or edit paths. The sampled source confirms the routing and map orchestration, while some documented capabilities have limited implementation excerpts, so only README-supported or indexed relationships are shown for them.
Main entry points: MapScreen.tsx Map screen · useAdminStore.ts Admin edits · useRouting.ts Route coordination · usePaths.ts Path data
Components 25
Visitor experience
- App entry
App.tsx - App navigation
src/navigation/AppNavigator.tsx - Onboarding
src/screens/OnboardingScreen.tsx - Map screen
src/screens/MapScreen.tsx - POI search
src/components/POI/FilterDrawer.tsx - Settings
src/screens/SettingsScreen.tsx
Routing and map
- Campus map
src/components/Map/GLCCMap.tsx - POI markers
src/components/Map/POIMarkers.tsx - Route coordination
src/hooks/useRouting.ts - A* routing
src/routing/astar.ts - Gateway routing
src/routing/multiModal.ts - Live graph
src/hooks/useLiveGraph.ts - Graph builder
src/routing/buildGraph.ts - Offline map packs
src/hooks/useOfflinePack.ts
Content and administration
- POI data
src/hooks/usePOIs.ts - Path data
src/hooks/usePaths.ts - POI editor
src/screens/AdminPOIFormScreen.tsx - Path editor
src/screens/AdminPathListScreen.tsx - Path tracing
src/hooks/usePathTracer.ts
App state and services
- User preferences
src/store/useAppStore.ts - Admin edits
src/store/useAdminStore.ts - Remote content state
src/store/useRemoteContentStore.ts - Remote content updates
src/utils/remoteContent.ts
Other components
- Visitor
- Map tile service
Connections 33
- Visitor → App entry: opens
README.md - App entry → App navigation: starts
App.tsx - App entry → Remote content state: initializes
App.tsx - App navigation → Onboarding: routes to
src/navigation/AppNavigator.tsx - App navigation → Map screen: routes to
src/navigation/AppNavigator.tsx - Onboarding → User preferences: saves preferences
- Map screen → Campus map: renders
src/screens/MapScreen.tsx - Map screen → POI search: opens
src/screens/MapScreen.tsx - Map screen → POI data: loads POIs
src/screens/MapScreen.tsx - Map screen → Route coordination: calculates routes
src/screens/MapScreen.tsx - Map screen → Live graph: builds live graph
src/screens/MapScreen.tsx - Map screen → Offline map packs: manages downloads
src/screens/MapScreen.tsx - Map screen → Settings: opens
src/screens/MapScreen.tsx - Campus map → POI markers: renders
src/components/Map/GLCCMap.tsx - Campus map → User preferences: reads route state
src/components/Map/GLCCMap.tsx - Route coordination → A* routing: finds route
src/hooks/useRouting.ts - Route coordination → Gateway routing: finds gateway
src/hooks/useRouting.ts - Route coordination → User preferences: reads and updates
src/hooks/useRouting.ts - Live graph → Graph builder: augments graph
src/hooks/useLiveGraph.ts - Map screen → Path data: loads paths
src/hooks/usePaths.ts - Path data → Graph builder: builds graph
src/hooks/usePaths.ts - POI data → Admin edits: applies edits
src/hooks/usePOIs.ts - POI data → Remote content state: reads updates
src/hooks/usePOIs.ts - Path data → Admin edits: applies edits
src/hooks/usePaths.ts - POI editor → Admin edits: saves edits
src/store/useAdminStore.ts - Path editor → Path data: loads paths
src/screens/AdminPathListScreen.tsx - Path editor → Admin edits: saves edits
src/screens/AdminPathListScreen.tsx - Path editor → Graph builder: rebuilds graph
src/screens/AdminPathListScreen.tsx - Path tracing → Admin edits: records path edits
src/hooks/usePathTracer.ts - Settings → Offline map packs: controls packs
src/screens/SettingsScreen.tsx - Offline map packs → Map tile service: downloads tiles
src/hooks/useOfflinePack.ts - Remote content state → Remote content updates: checks updates
src/store/useRemoteContentStore.ts - Remote content updates → Map screen: provides content
README.md