filter

A filter, also known as a predicate within iOS and macOS, gives you fine-grained control over the content of a style layer. A style layer that gets its features from a GeoJSON or vector source only includes the features that meet the filter or predicate condition that you define. See the documentation for filters and predicates for more information.