Closed hnahoulder closed 4 years ago
I have the same question, did you find a solution for this yet?
+1
I used the solution of fxi from here https://github.com/mapbox/mapbox-gl-draw/issues/874 to customize your Draw bar however you want.
This library doesn't add a new icon in the draw bar as this is an extension to the existing library by mapbox and not intended to be a replacement. You can add your own custom icon / drop-down depending on the UX and invoke the functions using click handlers. Please refer to this sample.
Hello,
I'm looking for how can I add the draw circle control to my map control.
I have this code
And when I switch to draw polygon, I can't switch to draw circle again because I don't have it in my Map control