Set a paint property on a map layer
set_paint_property(map, layer_id = NULL, name, value, layer = NULL)
The updated map object.
A map object created by the mapboxgl
or maplibre
function, or a proxy object.
The ID of the layer to update.
The name of the paint property to set.
The value to set the property to.
Deprecated. Use layer_id
instead.