powered by
Remove one or more Antpaths from a map, identified by layerId.
layerId
removeAntpath(map, layerId = NULL)
the new map object
map
a map widget object, possibly created from leaflet() but more likely from leafletProxy()
leaflet
leafletProxy
character vector; the layer id(s) of the item to remove
Other Antpath Functions: addAntpath(), antpathOptions(), clearAntpath()
addAntpath()
antpathOptions()
clearAntpath()