R/basemap.R

Defines functions add_basemap

Documented in add_basemap

#' Add a basemap to the deckgl widget
#'
#' @inheritParams add_mapbox_basemap
#' @param style The style definition of the map conforming to the Mapbox Style Specification.
#' @param ... not used
#' @export
add_basemap <- function(deckgl, style = use_carto_style(), ...) {
  add_mapbox_basemap(deckgl, style, ...)
}

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.