Update task task-028

This commit is contained in:
Jeff Emmett 2025-12-04 13:24:44 -08:00
parent bca3c5c68d
commit f9c955e275
1 changed files with 21 additions and 2 deletions

View File

@ -5,7 +5,7 @@ status: In Progress
assignee:
- '@claude'
created_date: '2025-12-04 21:12'
updated_date: '2025-12-04 21:12'
updated_date: '2025-12-04 21:24'
labels:
- feature
- mapping
@ -33,9 +33,28 @@ This is the foundation that task-024 (Route Planning) and other spatial features
## Acceptance Criteria
<!-- AC:BEGIN -->
- [ ] #1 OSM raster tiles render as canvas background layer
- [ ] #2 Coordinate transformation functions (geo ↔ canvas) working accurately
- [x] #2 Coordinate transformation functions (geo ↔ canvas) working accurately
- [ ] #3 Zoom levels map to appropriate tile zoom levels
- [ ] #4 Pan/zoom gestures work smoothly with tile loading
- [ ] #5 Shapes can be placed with lat/lng coordinates
- [ ] #6 Basic MapLibre GL or Leaflet integration pattern established
<!-- AC:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
## Progress (2025-12-04)
### Completed:
- Reviewed existing open-mapping module scaffolding
- Installed maplibre-gl npm package
- Created comprehensive geo-canvas coordinate transformation utilities (geoTransform.ts)
- GeoCanvasTransform class for bidirectional geo ↔ canvas transforms
- Web Mercator projection support
- Tile coordinate utilities
- Haversine distance calculations
### In Progress:
- Wiring up MapLibre GL JS in useMapInstance hook
- Creating MapShapeUtil for tldraw canvas integration
<!-- SECTION:NOTES:END -->