removeVectorgrid: Remove a VectorGrid layer

View source: R/vectorgrid.R

removeVectorgridR Documentation

Remove a VectorGrid layer

Description

Remove a VectorGrid layer

Usage

removeVectorgrid(map, layerId)

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 Vectorgrid Functions: addProtobuf(), addVectorgrid(), clearVectorgrid(), vectorStyling()


leaflet.extras2 documentation built on Sept. 10, 2026, 1:11 a.m.