Add tile overlay definitions and LayersControl entries

- layers.ts: overlayLayers with hillshading, Waymarked Cycling/Hiking/MTB
- PlannerMap: LayersControl.Overlay entries for each overlay tile layer
- Leaflet handles attribution updates natively on toggle

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-11 01:13:21 +02:00
parent a1b231c54c
commit 0e399e5174
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
4 changed files with 48 additions and 6 deletions

View file

@ -1,8 +1,8 @@
## 1. Tile Overlay Definitions
- [ ] 1.1 Add `overlayLayers` export to `packages/map/src/layers.ts` with hillshading, Waymarked Cycling, Waymarked Hiking, Waymarked MTB tile configs
- [ ] 1.2 Add `LayersControl.Overlay` entries in `MapView.tsx` and `PlannerMap.tsx` for each overlay
- [ ] 1.3 Verify overlay attribution updates correctly when toggling overlays on/off
- [x] 1.1 Add `overlayLayers` export to `packages/map/src/layers.ts` with hillshading, Waymarked Cycling, Waymarked Hiking, Waymarked MTB tile configs
- [x] 1.2 Add `LayersControl.Overlay` entries in `MapView.tsx` and `PlannerMap.tsx` for each overlay
- [x] 1.3 Verify overlay attribution updates correctly when toggling overlays on/off
## 2. Overlay State Sync