Skip to content

feat: Refactors 3d-simple-map to use declarative model.#1138

Closed
willum070 wants to merge 15 commits intomainfrom
refactor-3d-simple-map
Closed

feat: Refactors 3d-simple-map to use declarative model.#1138
willum070 wants to merge 15 commits intomainfrom
refactor-3d-simple-map

Conversation

@willum070
Copy link
Collaborator

@willum070 willum070 commented Feb 25, 2026

This PR does the following things:

  • Refactors the 3d-simple-map sample to use gmp-map-3d.
  • Updates copyright dates in license headers.

This change should tell us more about why the test is failing (I suspect it's a race condition)
Taking another tack: Wait for the map to finish loading before accessing the inner map.

Hopefully this moves the needle correctly.
This is a better pattern than addEventListenerOnce.
Removed event listener for 'gmp-ready' and set map options directly. Also removed innerMap since it is not needed.
Add JS event listener for 'gmp-ready' to set map options.
Removed event listener for 'gmp-ready' and directly set map options.
Removed map options setting for mapTypeControl. Now this "simple" sample is the most simple it can be.
willum070 and others added 3 commits March 5, 2026 13:36
Co-authored-by: Chris J. Shull <chrisjshull@gmail.com>
Co-authored-by: Chris J. Shull <chrisjshull@gmail.com>
@willum070 willum070 requested a review from chrisjshull March 5, 2026 21:40
@willum070 willum070 closed this Mar 6, 2026
@willum070 willum070 deleted the refactor-3d-simple-map branch March 6, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants