rdeck | R Documentation |
Create a Deck.GL map. Rendering the mapbox basemap requires a mapbox account and mapbox access token.
rdeck(
map_style = mapbox_dark(),
theme = "kepler",
initial_bounds = NULL,
initial_view_state = view_state(center = c(0, 0), zoom = 1),
controller = TRUE,
picking_radius = 0,
use_device_pixels = TRUE,
blending_mode = "normal",
layer_selector = TRUE,
editor = FALSE,
lazy_load = deprecated(),
width = NULL,
height = NULL,
id = NULL,
...
)
map_style |
< |
theme |
< |
initial_bounds |
< |
initial_view_state |
< |
controller |
< |
picking_radius |
< |
use_device_pixels |
<
|
blending_mode |
<
|
layer_selector |
< |
editor |
< |
lazy_load |
|
width |
< |
height |
< |
id |
< |
... |
Additional parameters that will be forwarded to deck.gl javascript without
validation nor processing. All dots must be named and will be |
https://github.com/visgl/deck.gl/blob/8.7-release/docs/api-reference/core/deck.md
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.