Is there a Draw Plugin? #570
Answered
by
KiwiKilian
KushalTalkingLands
asked this question in
Q&A
-
I am trying to use maplibre-gl-draw in react native but it is giving error mapRef.current.addControl is not a function (it is undefined ). How to solve it ? |
Beta Was this translation helpful? Give feedback.
Answered by
KiwiKilian
Dec 20, 2024
Replies: 1 comment 2 replies
-
Not sure which package you are exactly trying to use, as there is mostly |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
KiwiKilian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure which package you are exactly trying to use, as there is mostly
mapbox-gl-draw
. But as the name states it's for Mapbox/MapLibre GL JS, so it works only in the browser, not MapLibre React Native. AFAIK there is not MapLibre Native plugin or anything similar. You will have to build this yourself.