H2: loadAssetPins() undefined — Map tab missing pin loading #32

Closed
opened 2026-05-22 01:46:08 +00:00 by shawn · 0 comments
Owner

Severity: High

switchTab(tabMap) calls loadAssetPins() to populate map markers, but this function does not exist.

Root cause: Function was never implemented.

Fix applied: Implemented loadAssetPins() — fetches assets with coordinates from API, creates Leaflet markers with popups, auto-fits bounds.

**Severity:** High `switchTab(tabMap)` calls `loadAssetPins()` to populate map markers, but this function does not exist. **Root cause:** Function was never implemented. **Fix applied:** Implemented `loadAssetPins()` — fetches assets with coordinates from API, creates Leaflet markers with popups, auto-fits bounds.
shawn closed this issue 2026-05-22 01:47:05 +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#32