set_paint_property | R Documentation |
Set a paint property on a map layer
set_paint_property(map, layer, name, value)
map |
A map object created by the |
layer |
The ID of the layer to update. |
name |
The name of the paint property to set. |
value |
The value to set the property to. |
The updated map object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.