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

Description

Infrastructure component configuring the map tile source for the flutter_map widget, supporting OpenStreetMap tiles or Google Maps SDK with local tile caching for offline or low-connectivity scenarios common in large Norwegian counties. Handles attribution display as required by tile service licenses.

Feature: Peer Mentor Map

map-tile-provider

Sources & reasoning

flutter_map requires an explicit tile provider configuration. Local tile caching ensures the map remains usable in low-connectivity conditions common when coordinators operate across the large Norwegian counties this feature specifically targets.

No source references — this artifact was included based on reasoning alone (see above).

Responsibilities

  • Configure flutter_map TileLayer with OpenStreetMap or Google Maps tile endpoint
  • Cache map tiles locally for degraded-connectivity resilience
  • Display required tile provider attribution text per license terms

Interfaces

buildTileLayer(MapTileConfig config) -> TileLayer
clearTileCache() -> Future<void>
getTileCacheSizeBytes() -> Future<int>