clear_legend: Clear Legend

Description Usage Arguments

View source: R/legend.R

Description

Clears the legend for a given layer_id

Usage

1
clear_legend(map_id, layer_id)

Arguments

map_id

the id of the map you want to clear the legend from.

layer_id

single value specifying an id for the layer. Use this value to distinguish between shape layers of the same type. Layers with the same id are likely to conflict and not plot correctly


mapdeck documentation built on Sept. 4, 2020, 9:07 a.m.