View source: R/carto-dataset-layer.R
Add a (CARTO) dataset layer to the map
1 2 | add_dataset_layer(map, dataset_name, viz_def = list(),
id = "dataset-layer", ...)
|
map |
map widget created by cartovl |
dataset_name |
name of the dataset which will be added to the map |
viz_def |
visualization definition, character vector; if set to |
id |
unique layer id |
... |
more props |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.