View source: R/mapboxgl-stuff.R
Add a source to the map
1 | add_source(map, data, id = "source", ...)
|
map |
map widget created by cartovl |
data |
source object |
id |
The id of the source to add. |
... |
more props |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.