Learn R Programming

robis (version 2.11.3)

map_leaflet: 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)

Value

A leaflet object.

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.