deckgl 0.1.8

deckgl 0.1.7

deckgl:::browse_api_examples()[1] %>%
  deckgl:::run_api_example()
deck

deckgl 0.1.6

deckgl(
  zoom = 5,
  pickingRadius = 5,
  style = list(background = "black")
)
deckgl() %>%
  add_data(bart_stations) %>%
  add_scatterplot(data = get_data(), properties = properties)

deckgl 0.1.5

properties <- list(
  getText = JS("data => data.text")
)

# equals

properties <- list(
  getText = get_property("text")
)

deckgl 0.1.4

icon_properties <- list(
  iconAtlas = encode_icon_atlas(),
  iconMapping = list(marker = icon_definition()),
  getIcon = JS("d => 'marker'"),
  ...
)

deckgl 0.1.3

# Tooltip example for a grid layer

properties <- list(
  pickable = TRUE
  getTooltip = JS("object => `${object.position.join(', ')}\nCount: ${object.count}`")
  fixedTooltip = TRUE # show tooltip always on upper left corner,
  ...
)