R/filter.R

Defines functions set_filter

Documented in set_filter

#' Set the filter of a layer
#' @inheritParams set_paint_property
#' @inheritParams add_circle_layer
#' @export
set_filter <- function(map, layer_id, filter) {
  invoke_method(map, "setFilter", layerId = layer_id, filter = filter)
}

Try the mapboxer package in your browser

Any scripts or data that you put into this service are public.

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