set_layer_visibility | R Documentation |
Sets a layer's visibility and whether it is selectable in the layer selector.
Setting either visible
or visibility_toggle
as cur_value()
will have no change
in the browser.
set_layer_visibility(
rdeck,
id,
visible = cur_value(),
visibility_toggle = cur_value()
)
rdeck |
< |
id |
< |
visible |
< |
visibility_toggle |
< |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.