Description Usage Arguments See Also
Add a draw control to the map (experimental)
1 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.