mapview (version 2.7.8)

addFeatures: Type agnositc version of leaflet::add* functions.

Description

This function is deprecated. Please use leafem::addFeatures instead.

Usage

addFeatures(map, data, pane = "overlayPane", ...)

Arguments

map

A leaflet or mapview map.

data

A sf object to be added to the map.

pane

The name of the map pane for the features to be rendered in.

...

Further arguments passed to the respective leaflet::add* functions. See addCircleMarkers, addPolylines and addPolygons.