WIP: experiment with Google Maps 3D overlay support#10401
WIP: experiment with Google Maps 3D overlay support#10401charlieforward9 wants to merge 23 commits into
Conversation
|
Prototype follow-up from the local Map3D route demo:
|
|
Second follow-up: added a native Map3D editing demo shell on top of the drift finding. What the demo now does:
Current limitation: Google Maps 3D exposes click positions and native 3D geometry, but no documented draggable vertex/path editing API. So this is the first supportable adapter direction, not yet the polished editable-layers replacement. |
|
Third follow-up: split the native editor shell into a supportable adapter boundary. New shape:
Verification: focused Map3D/editor tests are 18/18, example/test lint is clean for the touched surfaces, and the standalone demo builds with Vite. |
|
Update after 7406654:
Live browser finding: in the in-app browser the real Map3D renderer did not expose a reachable canvas under Verification:
|
|
Update after f45ee0d: Added an explicit experimental Map3D Deck depth mode:
Demo update:
Answer to the latest browser screenshot: that view was native Google Map3D geometry, not Deck. The button still said Verification:
|
|
Alignment update pushed in
Verification: focused Map3D tests pass, targeted eslint/typecheck/prettier pass, and the local 3D demo now shows the Deck debug path aligned with the native Map3D route in both screen and mesh-depth fallback modes. The example production build is still blocked in this worktree because |
|
Local demo visibility fix pushed in
Local server is running at |
|
Map3D movement follow-up pushed in
Local verification: focused Map3D tests pass (20 tests), targeted eslint/prettier/typecheck pass, and the local dev server is still running at |
|
Demo visibility toggle follow-up pushed in
Local server is running at |
|
Tightened the draped-surface fallback in |
|
Added |
|
Added |
|
Added |
|
Added |
|
Added |
Summary
GoogleMapsOverlay#setMapto recognizegmp-map-3d/Map3DElementalongsidegoogle.maps.Mapcenter,range,heading,tilt, andfovNotes
getContext()on an internal Google canvas just to probe, because that can create/corrupt a context.Test Plan
yarn vitest run --project headless test/modules/google-maps/google-maps-overlay.spec.ts./node_modules/.bin/eslint modules/google-maps/src/index.ts modules/google-maps/src/google-maps-overlay.ts modules/google-maps/src/utils.ts