map_specimens: Display location of specimens in a leaflet widget

View source: R/map_specimens.R

map_specimensR Documentation

Display location of specimens in a leaflet widget

Description

Display of specimens' location in a leaflet widget. Markers sharing locations will be clustered.

Usage

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",
  ...
)

Arguments

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 format.Date().

p_tiles

Character value passed to addProviderTiles(). The tiles used as background in the map.

Examples

## Not run: 
map_specimens(churo_survey)

## End(Not run)


kamapu/specimens documentation built on March 1, 2024, 11:15 a.m.