Create a feature filtering function from a Mapbox GL Filter.
Given a filter expressed as nested lists, return a new function that evaluates whether a given feature (with a .properties or .tags property) passes its test. More information: - https://www.mapbox.com/mapbox-gl-js/style-spec/#other-filter - https://github.com/mapbox/mapbox-gl-js/tree/master/src/style-spec/feature_filter
filt (list) – Mapbox GL filter
func – A function which evaluates whether a GeoJSON feature meets the input filter criteria
- Return type