Commit graph

4 commits

Author SHA1 Message Date
Viktor Barzin
5e2c5923f6
Cross-fade hex grid on zoom with dual-layer swap
Replace single-layer fade-out/swap/fade-in with a dual-layer (A/B)
cross-fade so old hexagons dissolve while new ones appear simultaneously.
Pans still do a direct data swap on the active layer since hex positions
are origin-anchored and stable.

Fix click/hover handlers to query both layers via queryRenderedFeatures,
and use moveLayer to keep the active layer on top so stale features from
the faded-out layer don't intercept clicks.
2026-02-07 22:25:50 +00:00
Viktor Barzin
42d34fd21a
Fix map UX: instant load, stable hex grid, and clickable hexagons
- Skip fly-to animation on initial data load (fitBounds duration: 0)
- Replace turf.hexGrid with origin-anchored manual hex generation so
  hexagons stay stable across pan/zoom instead of flickering
- Quantize zoom to integers so hex pattern only changes at discrete levels
- Scale search radius with cell size so low-zoom hexagons find their data
- Make hexagons clickable with pointer cursor; each hex shows the exact
  listings it aggregated via stored search bounds
- Remove unused SEARCH_BUFFER constant
2026-02-07 21:59:02 +00:00
Viktor Barzin
4c7fe8927b
add minimal working version where we fetch data and visualize it corectly 2025-06-15 12:48:52 +00:00
Viktor Barzin
c7d996dbeb
rename frontend directory to frontend 2025-06-14 15:43:14 +00:00