removeAntpath: removeAntpath

View source: R/antpath.R

removeAntpathR Documentation

removeAntpath

Description

Remove one or more Antpaths from a map, identified by layerId.

Usage

removeAntpath(map, layerId = NULL)

Arguments

map

a map widget object, possibly created from leaflet() but more likely from leafletProxy()

layerId

character vector; the layer id(s) of the item to remove

Value

the new map object

See Also

Other Antpath Functions: addAntpath(), antpathOptions(), clearAntpath()


leaflet.extras2 documentation built on Aug. 21, 2023, 5:08 p.m.