- Default "Zadání HG3" mode with exactly the 16 categories of the assignment
(9 built-up, 7 undeveloped) and its legend colours; replaces the old simple mode
- Whole map coloured: RÚIAN cadastral parcels are fetched and classified from
land type / land use; built-up parcels take the category of their building
- Field corrections per building or parcel (info panel), saved locally and in a
project file (save/open JSON) to move between devices
- A4 frame at 1 : 3 780 (300 dpi, landscape/portrait) shown on the map; data
loading covers the frame
- Built-up territory meter against the 66 % rule (built-up areas + gardens +
maintained greenery; strict legend share shown too) and area statistics
per category with CSV export
- Submission print/PDF: 1 map (title, author, scale, source), 2 legend (only
categories present), 3-4 commentary
- Commentary editor with the assignment's questions and a 3 600-character counter
- Field worksheet: blank A4 base map with house numbers and an empty legend
to colour with crayons
- Buildings CSV gains HG3 category, correction flag and parcels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Visual
- Design tokens (spacing, radius, type, motion) with a dark theme that follows
prefers-color-scheme; map palette in theme.ts (exports/print stay light)
- Segmented controls (language, colour scheme), switches, styled slider/select,
icon buttons, cards, focus rings, hover/active states, reduced-motion support
- Info panel card with animation, tooltip that stays on screen, grouped zoom buttons
Map
- Redraws batched per animation frame; animated zoom/fit, pan inertia,
trackpad pinch, pointer cursor and outline for the hovered building
- Hovering a legend row highlights that category on the map
Loading & feedback
- Progress bar + "Loading n/m" pill; status line with icons, collapsible
basemap failure details, success messages fade
- A newer load supersedes one in flight; a failed buildings query is reported
immediately instead of after the basemap retries
Convenience
- Keyboard: +/- zoom, 0 fit, arrows pan, Esc closes
- Legend All/None, double-click or Alt-click to show only one category
- Settings and last location remembered; #lat,lon,radius in the URL to share,
copy-link button, "my location" button
- Mobile: full-screen map with a draggable bottom sheet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Sidebar, legend, status, info panel and tooltip are Preact components (src/components)
- App state that the UI or map depends on is held in @preact/signals; the map redraws
through a signal effect, pan/zoom still redraw directly
- Classification is a computed signal (buildings) instead of manual classifyAll calls
- index.html is just a mount point; CSS is imported from main.tsx
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>