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

How can I get the DOM element for Marker? #1102

Open
SaavanNanavati opened this issue Jun 23, 2023 · 0 comments
Open

How can I get the DOM element for Marker? #1102

SaavanNanavati opened this issue Jun 23, 2023 · 0 comments

Comments

@SaavanNanavati
Copy link

SaavanNanavati commented Jun 23, 2023

I want to get the DOM element for the Marker so I can pass an ID attribute to the HTML element of the Marker.

  1. Is it possible to directly pass an ID attribute to the DOM element for the Marker using props (ideal case)?
  2. If not, can I pass a Ref to the DOM element so I can manipulate it after it is rendered to the DOM to set the ID attribute?

I have looked at the documentation and conducted some research but have not found a means to do this.

Thanks and please let me know if this use case needs clarification.

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

No branches or pull requests

1 participant