plot_map_leaflet: Create a Leaflet map.

Description Usage Arguments Value Examples

View source: R/plot_map_leaflet.R

Description

Create a Leaflet map.

Usage

1
plot_map_leaflet(data, provider = "Esri.OceanBasemap", popup = NULL)

Arguments

data

The data frame.

provider

Tile provider, see https://leaflet-extras.github.io/leaflet-providers/preview/.

popup

The field to display as a popup or a character vector with as many elements as there are rows, by default the row names are shown.

Value

HTML widget object.

Examples

1
2
3
plot_map_leaflet(abra)
plot_map_leaflet(abra, popup = "datasetID")
plot_map_leaflet(abra, popup = head(colnames(abra)))

sharksmhi/tryout documentation built on Dec. 27, 2019, 5:34 a.m.