Learn R Programming

mapboxer (version 0.4.0)

set_filter: Set the filter of a layer

Description

Set the filter of a layer

Usage

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.