View source: R/funs-add_if_exists.R
addIfExistLines | R Documentation |
Add polylines to a leaflet map if there is sufficient data.
addIfExistLines(map = NULL, data, map_format = "pdf", ...)
map |
a map widget object created from leaflet() |
data |
the data object from which the argument values are derived. |
... |
additional arguments passed to addPolylines() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.