Filter

data class Filter(val value: Value)

An expression specifying conditions on source features. Only features that match the filter are displayed. Zoom expressions in filters are only evaluated at integer zoom levels. The ["feature-state", ...] expression is not supported in filter expressions. The ["pitch"] and ["distance-from-center"] expressions are supported only for filter expressions on the symbol layer.

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

Link copied to clipboard
fun Filter(expression: Expression)

Construct the Filter with Mapbox Expression.

Link copied to clipboard
fun Filter(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard