mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-05-20 14:44:51 +02:00
No description
- JavaScript 96.9%
- CSS 2.9%
- HTML 0.2%
Remove the clear-then-set pattern when clicking a new labeled feature. Previously, clicking Kimberly after Twin Falls would: 1. Clear Twin Falls boundary 2. Set new place 3. Wait for API to return 4. Set Kimberly boundary This caused the old boundary to disappear before the new one was ready, requiring two clicks. Now when clicking a new labeled feature: 1. Set new place immediately 2. When API returns, updateBoundary(newData) replaces old data in-place The GeoJSON source only holds one dataset - setting new data naturally replaces old data. Explicit clear only needed when deselecting or clicking empty map. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| public | ||
| src | ||
| .gitignore | ||
| deploy.sh | ||
| eslint.config.js | ||
| index.html | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| vite.config.js | ||
navi
Navi — self-hosted navigation web frontend for Echo6