Service Layer medium complexity backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Backend service that resolves mentor coordinates, applies privacy-preserving aggregation, and serves filtered mentor location datasets. Enforces role-based access and handles geographic precision rules based on zoom context.

Feature: Peer Mentor Map

geo-service

Sources & reasoning

Listed in §8 area taxonomy as a feature of geographic-map-view area. §3.1 identifies it as a Blindeforbundet-unique need for large counties. §5 Fase 3 explicitly places 'Geografisk kartvisning (Blindeforbundet)' in Growth & Engagement phase.

Responsibilities

  • Query mentor locations filtered by tags, certification, and state
  • Apply zoom-dependent precision aggregation for privacy
  • Enforce role-based access control on location data
  • Geocode and reverse-geocode address inputs
  • Cache frequent geographic queries for performance

Interfaces

getMentorsInBounds(bbox, filters): MentorMarker[]
aggregateByPrecision(markers, zoomLevel): ClusterMarker[]
geocodeAddress(address): Coordinates