configurePoiFilter static method
- PoiFilterCriteria filterCriteria
Configures POI filters represented as opaque criteria.
A PoiFilterCriteria instance can be created with builders such as EVPoiFilterCriteriaBuilder.
A builder may target one or more internal POI categories; the returned criteria apply to
those categories. If MapContentSettings.configurePoiFilter.filterCriteria is empty (contains no filter fields), then the previously
configured filter for the same target category or categories is reset.
If this function is called again with criteria created by the same builder (thus targeting the same internal POI category or categories), the previously configured filter for those categories is overridden by the new one.
If this function is called with criteria created by different builders, each criteria affects its own target internal POI category or categories.
Note: Filtering takes effect only when the corresponding POI categories required by the filter are enabled via MapContentSettings.setPoiCategoriesVisibility.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
filterCriteriaOpaque POI filter criteria created by a specific POI builder.
The builder defines the internal POI category or categories this filter applies to. Passing an empty criteria object resets the filter for those categories.
Implementation
static void configurePoiFilter(PoiFilterCriteria filterCriteria) => $prototype.configurePoiFilter(filterCriteria);