filter
Set the filter property
Parameters
filter
the expression filter to set
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.