Infrastructure medium complexity mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Infrastructure layer that configures flutter_map with OpenStreetMap tile providers to avoid Google Maps licensing costs and privacy concerns. Manages tile caching, network request handling for map tiles, and the flutter_map_marker_cluster plugin configuration for dense-area clustering. Exposes a unified map controller interface to the Map View Screen.

Feature: Geographic Matching & Map View

maps-api-integration

Responsibilities

  • Configure OpenStreetMap tile layer URL template and attribution
  • Manage tile caching for offline resilience
  • Configure flutter_map_marker_cluster for pin clustering
  • Provide map controller for programmatic zoom and pan
  • Handle network errors for tile loading gracefully

Interfaces

buildTileLayer()
buildClusterLayer(markers)
getMapController()
setCameraPosition(lat, lng, zoom)
fitBounds(bounds)
clearTileCache()
getTileAttribution()