clear_legend: Clear Legend
Description
Clears the legend for a given layer_id
Usage
clear_legend(map, layer_id)
Arguments
- map
the map from which you want to clear the legend.
- 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