Main specs (7): Converted from delta format (## ADDED/MODIFIED) to proper main spec format (## Purpose + ## Requirements) Changes (3): Added missing spec files for e2e-test-reorganization, journal-poi-details, and mobile-nearby-sync Mobile testing: Added missing scenario for "No Vitest" requirement Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
982 B
982 B
Purpose
Map tile layer display with base layer switching and independent overlay tile layers in the Planner.
Requirements
Requirement: Base layer switching
The map SHALL support switching between multiple base tile layers, and SHALL support toggling overlay tile layers independently.
Scenario: Switch to OpenTopoMap
- WHEN a user selects "OpenTopoMap" from the layer switcher
- THEN the map tiles change to topographic tiles from OpenTopoMap
Scenario: Available base layers
- WHEN a user opens the layer switcher
- THEN the options include OpenStreetMap, OpenTopoMap, and CyclOSM
Scenario: Available overlay layers
- WHEN a user opens the layer switcher
- THEN overlay checkboxes are shown for Hillshading, Cycling Routes, Hiking Routes, and MTB Routes
Scenario: Toggle overlay
- WHEN a user checks an overlay checkbox in the layer switcher
- THEN the overlay tiles are rendered on top of the current base layer