Marker methods: togglePopup and remove #2048
Unanswered
morgande51
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to Toggle a Marker Popup using a button that is external to my Map. The underlining Marker component has a togglePopup method that allows me to do this, but it is not exposed in the react-map-gl wrapper.
Is there a way for me for me to unwrap the Marker object so that I can access the underlining hidden methods? I am also interested in the remove function as well, but the toggle is the most important.
Beta Was this translation helpful? Give feedback.
All reactions