Add a filter control to the map

add_filter_control(map, layer_id, filter = NULL, pos = NULL,
  rows = 1, cols = 20)

Arguments

map

A mapboxer object.

layer_id

The ID of the layer to which the filter is attached.

filter

The initial filter expression.

pos

The position of the control. One of top-left, top-right, bottom-right or bottom-left.

rows

The number of rows of the textarea input.

cols

The number of columns of the textarea input.