add_control | R Documentation |
Add a control to the widget
add_control(deckgl, html, pos = "top-right", style = NULL)
deckgl |
A deckgl widget object. |
html |
The |
pos |
The position of the control. Possible values are |
style |
A |
deck <- deckgl() %>% add_basemap() %>% add_control( "<h1>Blank Base Map</h1>", pos = "top-right", style = "background: #004080; color: white;" ) if (interactive()) deck
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.