R/layers_column-layer.R

Defines functions add_column_layer

Documented in add_column_layer

#' Add a column layer to the deckgl widget
#'
#' The \code{ColumnLayer} can be used to render a heatmap of vertical cylinders.
#' It renders a tesselated regular polygon centered at each given position (a "disk"), and extrude it in 3d.
#'
#' @inheritParams add_layer
#' @seealso \url{https://deck.gl/#/documentation/deckgl-api-reference/layers/column-layer}
#' @example inst/examples/deckgl-api-reference/column-layer.R
#' @export
add_column_layer <- function(deckgl, data = NULL, properties = list(), ..., id = "column-layer") {
  add_layer(deckgl, "ColumnLayer", data, properties, ..., id = id)
}

Try the deckgl package in your browser

Any scripts or data that you put into this service are public.

deckgl documentation built on March 7, 2023, 5:37 p.m.