Commit Graph

2 Commits

Author SHA1 Message Date
Davide Scaini 8cc2b07b1f feat: multiple map tile styles switchable in Settings > Interface
New src/mapStyles.ts defines five styles from bincio_planner's sources:
- Liberty (OpenFreeMap vector, default)
- CyclOSM (cycling infrastructure raster)
- Topo (OpenTopoMap elevation raster)
- Satellite (Esri World Imagery raster)
- OSM (standard raster fallback)

Raster sources are wrapped in a StyleSpecification so MapLibre handles
them natively. Setting persisted via ThemeContext (AsyncStorage key
mapTileStyle). RecordingScreen and ActivityDetailScreen both read from
context so the style updates everywhere simultaneously.

MAP_STRATEGY.md added (untracked) with full map roadmap.
2026-06-04 00:52:58 +02:00
Davide Scaini ee28cb0c30 Initial commit
Generated by create-expo-app 4.0.0.
2026-06-02 16:19:04 +02:00