Add a draw control to the map (experimental)
add_draw_control(map, ..., pos = NULL, data = NULL)
map | A mapboxer object. |
---|---|
... | The options of the control. |
pos | The position of the control. One of |
data | A |
https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/API.md for available options for the draw control.