View Contact List in Map Mode for Geographic Assignment Planning
Blindeforbundet explicitly requested a geographic map view for matching peer mentors to contacts based on location, particularly for large counties. The map view must display mentor location markers on an interactive map, support filtering by certification status, availability, and distance, show a mentor info popup on marker tap, and fall back gracefully to the list view if location consent has not been granted. Location data must be handled according to a privacy configuration, and the initial consent dialog must be presented before any location data is shown or collected.
User Story
Acceptance Criteria
- Given I am on the contact list screen, when I tap the map view toggle, then the list is replaced by an interactive map showing mentor location markers
- Given the map is displayed, when I tap a mentor marker, then a mentor info popup appears showing the mentor's name, certification status, and an action button to view their full profile
- Given a mentor has not granted location consent, when the map loads, then no marker is shown for that mentor and their location is not requested
- Given I am viewing the map for the first time, when location display is triggered, then a location consent dialog explains how location data will be used before any data is loaded
- Given I apply a filter for available mentors only, when the filter is active, then paused or expired mentors are hidden from the map markers
Business Value
For Blindeforbundet operating across large Norwegian counties, geographic proximity is a primary matching criterion since peer mentor visits are often in-person home visits where travel distance directly affects both cost reimbursement and mentor willingness to accept assignments. A map view reduces the time required to identify geographically suitable mentors from minutes of manual cross-referencing to seconds of visual scanning, improving both assignment quality and mentor satisfaction.
Components
- Map View Screen ui
- Mentor Map Marker Widget ui
- Mentor Info Popup Card ui
- Map Filter Panel ui
- Map / List View Toggle Button ui
- Mentor List Fallback View ui
- Location Consent Dialog ui
- Mentor Location Service service
- Location Consent Service service
- Mentor Filter Service service
- Mentor Location Repository data
- Map Provider Integration infrastructure
- PostGIS Spatial Query Adapter infrastructure
- Location Privacy Configuration infrastructure