set_filter | R Documentation |
This function sets a filter on a map layer, working with both regular map objects and proxy objects.
set_filter(map, layer_id, filter)
map |
A map object created by the |
layer_id |
The ID of the layer to which the filter will be applied. |
filter |
The filter expression to apply. |
The updated map object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.