Description Usage Arguments Value
Adds a layer to the map
1 2 |
type |
a string indicating the layer to be added ("world", "us") |
label |
a string unique to the layer for the chart |
data |
is a dataframe to be mapped tot he base layer |
mapping |
is a list object mapping the data to the map features; requires a data key and map key |
options |
is a vector of objects to set and assign layer behaviors |
myGIo |
the widget object |
myGIO object with base layer attached
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.