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.


robis documentation built on July 25, 2026, 1:07 a.m.