- 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>
62 lines
3.8 KiB
XML
62 lines
3.8 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 450">
|
|
<defs>
|
|
<linearGradient id="land" x1="0" y1="0" x2="1" y2="1">
|
|
<stop offset="0" stop-color="#eef2ec"/>
|
|
<stop offset="1" stop-color="#e3e8e1"/>
|
|
</linearGradient>
|
|
<filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
|
|
<feDropShadow dx="0" dy="2" stdDeviation="3" flood-color="#0f172a" flood-opacity="0.25"/>
|
|
</filter>
|
|
</defs>
|
|
<rect width="800" height="450" fill="url(#land)"/>
|
|
<path d="M380 0 L800 0 L800 150 C730 160 660 120 600 100 C540 80 470 60 380 0 Z" fill="#cfe0ee"/>
|
|
<path d="M60 60 C120 50 200 70 260 66 C230 90 150 92 70 86 Z" fill="#cfe0ee"/>
|
|
<g stroke="#ffffff" stroke-width="3" stroke-linejoin="round" opacity="0.75">
|
|
<path d="M110 230 L170 168 L240 180 L262 250 L200 300 L130 288 Z" fill="#a4c6ea"/>
|
|
<path d="M170 168 L230 110 L310 118 L322 176 L240 180 Z" fill="#73a6dd"/>
|
|
<path d="M240 180 L322 176 L370 222 L340 290 L262 250 Z" fill="#4785cd"/>
|
|
<path d="M130 288 L200 300 L262 250 L340 290 L310 352 L210 366 L150 336 Z" fill="#cfe0f4"/>
|
|
<path d="M310 118 L400 100 L452 150 L420 210 L370 222 L322 176 Z" fill="#2763ad"/>
|
|
<path d="M370 222 L420 210 L490 238 L470 310 L400 330 L340 290 Z" fill="#73a6dd"/>
|
|
<path d="M310 352 L340 290 L400 330 L392 384 L330 396 Z" fill="#a4c6ea"/>
|
|
<path d="M400 100 L480 80 L540 112 L520 176 L452 150 Z" fill="#4785cd"/>
|
|
<path d="M452 150 L520 176 L560 220 L490 238 L420 210 Z" fill="#16447d"/>
|
|
<path d="M490 238 L560 220 L620 258 L600 320 L530 330 L470 310 Z" fill="#a4c6ea"/>
|
|
<path d="M540 112 L620 120 L660 170 L560 220 L520 176 Z" fill="#73a6dd"/>
|
|
</g>
|
|
<g fill="none" stroke="#334155" stroke-width="6" stroke-linecap="round" opacity="0.35">
|
|
<path d="M90 250 C180 230 260 215 360 200 S560 170 690 150"/>
|
|
<path d="M330 400 C350 320 390 260 420 200 S470 110 500 70"/>
|
|
</g>
|
|
<g fill="#2a78d6">
|
|
<circle cx="140" cy="243" r="4"/><circle cx="215" cy="228" r="4"/><circle cx="300" cy="210" r="4"/>
|
|
<circle cx="392" cy="196" r="4"/><circle cx="470" cy="183" r="4"/><circle cx="560" cy="168" r="4"/>
|
|
<circle cx="640" cy="156" r="4"/><circle cx="350" cy="340" r="4"/><circle cx="383" cy="275" r="4"/>
|
|
<circle cx="447" cy="150" r="4"/><circle cx="480" cy="104" r="4"/>
|
|
</g>
|
|
<g fill="#eb6834">
|
|
<circle cx="258" cy="222" r="5"/><circle cx="520" cy="176" r="5"/><circle cx="600" cy="162" r="5"/>
|
|
</g>
|
|
<g filter="url(#shadow)">
|
|
<circle cx="470" cy="62" r="26" fill="#2a78d6"/>
|
|
<path d="M470 36 A26 26 0 0 1 494 72 L470 62 Z" fill="#eb6834"/>
|
|
<path d="M494 72 A26 26 0 0 1 452 81 L470 62 Z" fill="#11a37f"/>
|
|
<circle cx="470" cy="62" r="13" fill="#ffffff"/>
|
|
<circle cx="640" cy="118" r="20" fill="#2a78d6"/>
|
|
<path d="M640 98 A20 20 0 0 1 659 124 L640 118 Z" fill="#eb6834"/>
|
|
<circle cx="640" cy="118" r="10" fill="#ffffff"/>
|
|
<circle cx="180" cy="74" r="15" fill="#11a37f"/>
|
|
<path d="M180 59 A15 15 0 0 1 194 79 L180 74 Z" fill="#2a78d6"/>
|
|
<circle cx="180" cy="74" r="7.5" fill="#ffffff"/>
|
|
</g>
|
|
<g filter="url(#shadow)">
|
|
<rect x="24" y="300" width="190" height="126" rx="10" fill="#ffffff"/>
|
|
<text x="40" y="326" font-family="system-ui, sans-serif" font-size="15" font-weight="600" fill="#0f172a">Ebenen</text>
|
|
<rect x="40" y="342" width="14" height="14" rx="3" fill="#4785cd"/>
|
|
<text x="64" y="354" font-family="system-ui, sans-serif" font-size="13" fill="#0f172a">Fahrzeugbestand</text>
|
|
<rect x="40" y="368" width="14" height="14" rx="3" fill="#eb6834"/>
|
|
<text x="64" y="380" font-family="system-ui, sans-serif" font-size="13" fill="#0f172a">Wasserfahrzeuge</text>
|
|
<rect x="40" y="394" width="14" height="14" rx="3" fill="#334155"/>
|
|
<text x="64" y="406" font-family="system-ui, sans-serif" font-size="13" fill="#0f172a">Strassenverkehr</text>
|
|
</g>
|
|
</svg>
|