Map View Screen
Component Detail
User Interface
high complexity
mobile
0
Dependencies
0
Dependents
3
Entities
0
Integrations
Description
Interactive map screen displaying peer mentor location pins across a coordinator's operational area. Uses flutter_map with OpenStreetMap tiles to render municipality or postal code area centroids as clustered markers with availability colour coding. Provides coordinator-only access enforced via role-based guards.
map-view-screen
Responsibilities
- Render interactive OpenStreetMap tile layer via flutter_map
- Display peer mentor location pins with availability status colour coding
- Implement marker clustering for dense areas using flutter_map_marker_cluster
- Handle map pan, zoom, and pin tap interactions
- Open bottom sheet with peer mentor card on pin tap
Interfaces
buildMapView(coordinatorId)
renderMarkerLayer(locations)
onMarkerTap(mentorId)
openMentorBottomSheet(mentorId)
fitBoundsToMentors()
refreshLocationPins()
applyAvailabilityFilter(status)
showClusteredMarkers(zoomLevel)
Related Data Entities (3)
Data entities managed by this component