3D perspective camera controls & pitch toggle button (map-3d-toggle.tsx) #83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Build a quick-toggle button in
src/components/controls/map-3d-toggle.tsxthat smoothly animates the MapLibre camera between flat 2D top-down view (pitch: 0, bearing: 0) and 3D oblique perspective (pitch: 55, bearing: -20), toggling 3D volumetric layers on demand.Technical specifications
src/components/controls/map-3d-toggle.tsx: Floating camera control button with 3D/2D cube icon.src/store/map-store.ts: Addis3DMode: booleanand camera pitch action.Acceptance criteria
easeTo.Blocked by
fill-extrusionlayer & pitch transition (peat-extrusion-layer.tsx).Authoritative Specifications & Reference Documentation
docs/ARCHITECTURE.mdIssue 70: [Frontend] 3D perspective camera controls & pitch toggle button (to [Frontend] 3D perspective camera controls & pitch toggle button (map-3d-toggle.tsx)map-3d-toggle.tsx)[Frontend] 3D perspective camera controls & pitch toggle button (to 3D perspective camera controls & pitch toggle button (map-3d-toggle.tsx)map-3d-toggle.tsx)Closed as completed in main (src/components/controls/terrain-toggle.tsx and dem-terrain.ts animateCamera3D pitch controls).