filter

open override fun filter(filter: Expression): SymbolLayer

Set the filter property

Parameters

filter

the expression filter to set

val filter: Expression?

A 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.