add_control {deckgl} | R Documentation |
Add a control to the widget
Description
Add a control to the widget
Usage
add_control(deckgl, html, pos = "top-right", style = NULL)
Arguments
deckgl |
A deckgl widget object. |
html |
The |
pos |
The position of the control. Possible values are |
style |
A |
Examples
deck <- deckgl() %>%
add_basemap() %>%
add_control(
"<h1>Blank Base Map</h1>",
pos = "top-right",
style = "background: #004080; color: white;"
)
if (interactive()) deck
[Package deckgl version 0.3.0 Index]