add_mapbox_basemap: Add a basemap from mapbox to the deckgl widget

View source: R/mapboxgl_basemap.R

add_mapbox_basemapR Documentation

Add a basemap from mapbox to the deckgl widget

Description

Add a basemap from mapbox to the deckgl widget

Usage

add_mapbox_basemap(
  deckgl,
  style = "mapbox://styles/mapbox/light-v9",
  token = Sys.getenv("MAPBOX_API_TOKEN")
)

Arguments

deckgl

deckgl widget

style

map style

token

mapbox API access token

Value

deckgl widget


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