Update task task-039

This commit is contained in:
Jeff Emmett 2025-12-04 18:28:48 -08:00
parent 1d591e4648
commit 74ddadc5cb
1 changed files with 27 additions and 2 deletions

View File

@ -4,7 +4,7 @@ title: 'MapShape Integration: Connect Subsystems to Canvas Shape'
status: In Progress
assignee: []
created_date: '2025-12-05 02:12'
updated_date: '2025-12-05 02:21'
updated_date: '2025-12-05 02:28'
labels:
- feature
- mapping
@ -25,7 +25,7 @@ Evolve MapShapeUtil.tsx to integrate the 6 implemented subsystems (privacy, myce
- [x] #1 MapShape props extended for subsystem toggles
- [x] #2 Presence layer integrated with opt-in location sharing
- [x] #3 Lens system accessible via UI
- [ ] #4 Route/waypoint visualization working
- [x] #4 Route/waypoint visualization working
- [ ] #5 Collaboration sync via Automerge
- [ ] #6 Discovery game elements visible on map
<!-- AC:END -->
@ -64,4 +64,29 @@ Evolve MapShapeUtil.tsx to integrate the 6 implemented subsystems (privacy, myce
- Integration with OSRM routing backend
- Connect presence system to actual location services
- Wire up discovery system to anchor/spore data
**Additional Implementation (Dec 5, 2025):**
### Routing System - Fully Working:
- ✅ MapLibre.Marker implementation with draggable waypoints
- ✅ Click-to-add-waypoint when routing enabled
- ✅ OSRM routing service integration (public server)
- ✅ Auto-route calculation after adding/dragging waypoints
- ✅ Route polyline rendering with GeoJSON layer
- ✅ Clear route button with full state reset
- ✅ Loading indicator during route calculation
- ✅ Distance/duration display in routing panel
### Presence System - Fully Working:
- ✅ Browser Geolocation API integration
- ✅ Location watching with configurable accuracy
- ✅ User location marker with pulsing animation
- ✅ Error handling (permission denied, unavailable, timeout)
- ✅ "Go to My Location" button with flyTo animation
- ✅ Privacy level affects GPS accuracy settings
- ✅ Real-time coordinate display when sharing
### Still TODO:
- Discovery system anchor visualization
- Automerge sync for collaborative editing
<!-- SECTION:NOTES:END -->