View source: R/map_specimens.R
map_specimens | R Documentation |
Display of specimens' location in a leaflet widget. Markers sharing locations will be clustered.
map_specimens(x, ...)
## S3 method for class 'specimens'
map_specimens(
x,
add_cols = c("coll_date", "leg", "taxon_name"),
sep = " | ",
date_format = "%d.%m.%Y",
p_tiles = "OpenStreetMap",
...
)
x |
A specimens object. |
... |
Further arguments passed among methods. |
add_cols |
A character vector with the names of columns to be displayed in the popup labels of markers. |
sep |
A character value used as separator between values of different columns in the popup labels. |
date_format |
A character value indicating the format used for the
collection date. It is passed to the function |
p_tiles |
Character value passed to |
## Not run:
map_specimens(churo_survey)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.