No description
  • JavaScript 96.9%
  • CSS 2.9%
  • HTML 0.2%
Find a file
Matt 60effce679 fix: search geocode now includes viewport bias in API requests
Symptom: HAR capture showed /api/geocode requests with NO lat/lon/zoom
params despite map being centered on Twin Falls. Results returned
out-of-state addresses (Illinois, Iowa, Arkansas).

Root cause: SearchBar subscribed to mapCenter via React hook, but the
value was stale at search time due to render timing.

Fix: api.js searchGeocode now reads mapCenter directly from the store
via useStore.getState() at call time. This is the correct pattern for
non-component code. SearchBar no longer passes mapCenter as a param.
2026-04-26 23:38:31 +00:00
public
src fix: search geocode now includes viewport bias in API requests 2026-04-26 23:38:31 +00:00
.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