set_filter: Set the filter of a layer

Description Usage Arguments

View source: R/filter.R

Description

Set the filter of a layer

Usage

1
set_filter(map, layer_id, filter)

Arguments

map

A mapboxer object.

layer_id

The ID of the layer whose property should be updated.

filter

A filter expression that is applied to the source.


mapboxer documentation built on Nov. 8, 2020, 4:21 p.m.