Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EXPERIMENTAL] replace map-div with gmp-map custom element #289

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

usefulthink
Copy link
Collaborator

This is an experiment to use the gmp-map custom element instead of a plain div element in the renderer.

The main reason to make this switch once the google maps web-components are stable is to allow interoperability with other web-components like the ones from the @googlemaps/extended-component-library package.

It looks like this will happen some time later this year, but probably after the 1.0 release.

Initial tests look promising though, I didn't get around to fix the unit-tests, but nothing seems seriously broken from a quick look. Next would be to test if this works together with other web-components.

@usefulthink usefulthink changed the title refactor: replace map-div with gmp-map custom element [EXPERIMENTAL] refactor: replace map-div with gmp-map custom element Mar 30, 2024
@usefulthink usefulthink changed the title [EXPERIMENTAL] refactor: replace map-div with gmp-map custom element [EXPERIMENTAL] replace map-div with gmp-map custom element Mar 30, 2024
@usefulthink usefulthink force-pushed the experimental/web-component-support branch from 2f7527f to e41a74c Compare April 3, 2024 20:14
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.

None yet

1 participant