7b01744fad04311d9d2b624eebc284c0f5d097c7
When the user clicks a parcel or building, render a subtle overlay so they can tell at a glance which feature corresponds to the open info panel. Four new MapLibre layers: v2-terenuri-selected-fill — green tint (#15803d/0.25) v2-terenuri-selected-line — darker green stroke (#14532d/2.5px) v2-cladiri-selected-fill — strong blue (#1d4ed8/0.55) v2-cladiri-selected-line — navy stroke (#0c2050/1.6px) All four start with a filter that matches nothing (==,object_id,-1). A new useEffect in MapViewer watches `selectedFeature` (passed down from GeoportalV2's `clicked` state) and updates the filter on the matching layer pair via map.setFilter on every change. Switching TERENURI ↔ CLADIRI clears the other layer pair, so the highlight never doubles up. selectedFeature.objectId is the filter key — comes straight from PMTiles' object_id property and is reliable across both layers. If the value isn't numeric (search-dropdown features sometimes lack it), the filter falls back to no-match — the panel still works, just no on-map glow. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pre-launch hardening: Address Book type sort, Hot Desk proportions, TVA calculator, ROADMAP Phase 4B
Description
No description provided
Languages
TypeScript
98.7%
Shell
0.4%
PLpgSQL
0.4%
Dockerfile
0.2%
CSS
0.1%
Other
0.1%