cur_value: Cur value

View source: R/utils.R

cur_valueR Documentation

Cur value

Description

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.

Usage

cur_value()

Examples

## Not run: 
rdeck_proxy("map") %>%
  set_layer_visibility("layer_id", visible = cur_value(), visibility_toggle = TRUE)

## End(Not run)

anthonynorth/rdeck documentation built on Aug. 11, 2024, 1:40 p.m.