add_control | R Documentation |
Add layer control for leaflet map
add_control(leaf, layer_vec, tiles_info = TILES_INFO)
leaf |
leaflet map widget object. |
layer_vec |
character vector of user data layers. For example animal names, model names etc. |
tiles_info |
A list holding tiles information, default to be
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.