map_leaflet: Create a leaflet map.

View source: R/map.R

map_leafletR Documentation

Create a leaflet map.

Description

Create a leaflet map.

Usage

map_leaflet(data, color = "#ff3399",
  provider_tiles = "Esri.WorldGrayCanvas", popup = function(x) { x["id"] },
  antarctic = FALSE)

Arguments

data

the occurrences from occurrence().

color

color to be used for the dots.

provider_tiles

the base map provider.

popup

function generating the popup content.

antarctic

use antarctic polar stereographic projection.

Value

A leaflet object.


iobis/obisclient documentation built on March 19, 2024, 6:26 a.m.