cur_value | R Documentation |
A sentinel object that represents the current value in the browser. Use this value to indicate that a map / layer property should remain unchanged.
Intended for use in shiny applications.
cur_value()
## Not run:
rdeck_proxy("map") %>%
set_layer_visibility("layer_id", visible = cur_value(), visibility_toggle = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.