Skip to content

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

@SaavanNanavati

Description

@SaavanNanavati

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions