R/layers_bitmap-layer.R

Defines functions add_bitmap_layer

Documented in add_bitmap_layer

#' Add a bitmap layer to the deckgl widget
#'
#' @inheritParams add_layer
#' @param image image
#' @example inst/examples/deckgl-api-reference/bitmap-layer.R
#' @export
add_bitmap_layer <- function(deckgl, image = NULL, properties = list(), ..., id = "h3-hexagon-layer") {
  add_layer(deckgl, "BitmapLayer", data = NULL, properties = c(properties, image = image), ..., 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.