add_filter_control: Add a filter control to the map

Description Usage Arguments

View source: R/custom-controls.R

Description

Add a filter control to the map

Usage

1
2
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.


crazycapivara/mapboxer documentation built on Nov. 13, 2021, 3:22 a.m.