- One shared Leaflet map (MapHost) with the traffic, watercraft and
vehicle maps turned into layer components that attach to it and clean
up on unmount; each layer adds its own data credit
- Data loading and per-dataset state moved into hooks used by both the
single pages and the combined page
- /karte/thurgau: layer panel with on/off switch, controls and legend per
dataset, shared year controls for the yearly layers, traffic day/time
controls, layers and year in the URL
- Side panel shows the selected municipality, harbour or station, or an
overview of all active layers; the municipality panel lists the
counting stations and harbours in that municipality
- Start page shows only the combined map; single maps are linked from
the layer cards
- Docs: combined map in docs/datasets.md and CLAUDE.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claudio Schaad <c.schaad@pog.ch>
Co-committed-by: Claudio Schaad <c.schaad@pog.ch>
2026-11-18 19:08:09 +00:00
Renamed from client/src/components/TrafficMap.tsx (Browse further)