Pass ref to useControl as prop instead of position #2056
maxwell-oroark
started this conversation in
Ideas
Replies: 1 comment
-
|
Try this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm more or less trying to implement this mapbox example but with the react-map-gl useControl API:
Is there a way to pass a
refto a dom element touseControl()instead of thepositionargument?Beta Was this translation helpful? Give feedback.
All reactions