Skip to contents

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