R/custom-controls.R
add_text_control.Rd
Add a text control to the map
add_text_control(map, text, pos = NULL, css_text = NULL)
A mapboxer object.
The text (HTML) that is displayed.
The position of the control. One of top-left, top-right, bottom-right or bottom-left.
top-left
top-right
bottom-right
bottom-left
A cssText string that will modify the style of the control element.
cssText