Skip to content

docs(example): map 3d markers example#765

Merged
usefulthink merged 13 commits intovisgl:mainfrom
andreashelms:docs/map-3d-markers-example
Mar 19, 2026
Merged

docs(example): map 3d markers example#765
usefulthink merged 13 commits intovisgl:mainfrom
andreashelms:docs/map-3d-markers-example

Conversation

@andreashelms
Copy link
Contributor

@andreashelms andreashelms commented May 20, 2025

image

@andreashelms andreashelms force-pushed the docs/map-3d-markers-example branch from 689185a to b2de09b Compare May 20, 2025 13:12
@andreashelms andreashelms changed the title Docs/map 3d markers example docs(example): map 3d markers example May 20, 2025
@@ -0,0 +1,760 @@
/* eslint-disable @typescript-eslint/no-empty-object-type */
Copy link
Collaborator

@mrMetalWood mrMetalWood Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@usefulthink Do we still need this file? I think we have most if not all of this already in our general google maps types file in the lib?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do, but people copying the example wouldn't have them since they are just for development and not exported.

usefulthink and others added 7 commits February 17, 2026 19:20
Added documentation for `headerContent` and `autoPanDisabled` props. Enhanced example usage with style and className support. Clarified popover behavior with the maps API and light dismiss functionality. Updated corresponding TypeScript types for better consistency.
Introduced reusable mock implementations for Google Maps 3D web components (`Marker3DElement`, `Marker3DInteractiveElement`, `PopoverElement`, and `Map3DElement`). Registered them as custom elements for test environments. Updated `Popover` and `Marker3D` tests to integrate these mocks using factory patterns for dynamic spy attachment. Added detailed README for usage and future upstream contribution plans.
Co-authored-by: Malte Modrow <malte.modrow@gmail.com>
@usefulthink usefulthink merged commit 8b60a78 into visgl:main Mar 19, 2026
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.

4 participants