View source: R/custom-controls.R
Add a text control to the map
1 | add_text_control(map, text, pos = NULL, css_text = NULL)
|
map |
A mapboxer object. |
text |
The text (HTML) that is displayed. |
pos |
The position of the control. One of |
css_text |
A |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.