T6 - Map Page Improvements #15

Closed
opened 2026-05-21 02:35:23 +00:00 by shawn · 0 comments
Owner

Changes

  • Marker clustering — Leaflet.markercluster groups dense asset pins, spiderfies on click
  • Real GPS heatmap — Heatmap layer now uses actual check-in GPS coordinates (/api/checkins/heatmap), not placebo visit-based weighting
  • Dismissible GPS warning — ✕ button on GPS error badge with "re-enable" option
  • Address geocoding fallback — When GPS denied, geocodes asset addresses via /api/geocode-address to get lat/lng for map pins
  • Map legend — Color-coded legend showing asset category markers
  • Modal fixes — Prompt area + actions container properly integrated into modal HTML
  • Backend: /api/checkins/heatmap and /api/geocode-address endpoints

Commit: 0c0d3e6

## Changes - **Marker clustering** — Leaflet.markercluster groups dense asset pins, spiderfies on click - **Real GPS heatmap** — Heatmap layer now uses actual check-in GPS coordinates (`/api/checkins/heatmap`), not placebo visit-based weighting - **Dismissible GPS warning** — ✕ button on GPS error badge with "re-enable" option - **Address geocoding fallback** — When GPS denied, geocodes asset addresses via `/api/geocode-address` to get lat/lng for map pins - **Map legend** — Color-coded legend showing asset category markers - **Modal fixes** — Prompt area + actions container properly integrated into modal HTML - **Backend**: `/api/checkins/heatmap` and `/api/geocode-address` endpoints Commit: 0c0d3e6
shawn closed this issue 2026-05-21 02:35:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/canteen-asset-tracker#15