Add an external layer to the map
1 2 | add_external_geojson_layer(map, source, viz_def = list(),
id = "external-layer", ...)
|
map |
map widget created by cartovl |
source |
url of the geojson data source |
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.