mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-08-26 17:31:37 +00:00
No description
- JavaScript 96.9%
- CSS 2.9%
- HTML 0.2%
Clear boundary source data when: - Clicking outside the marker circle (deselecting) - Clicking a new place (before setting new boundary) - Clicking empty map area (generic map click) This ensures: 1. Re-clicking the same city after dismissing re-renders boundary (selectedPlace is properly cleared, triggering fresh useEffect) 2. Clicking away doesn't leave stale boundary outline (boundary source explicitly cleared to empty FeatureCollection) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| frontend | ||