pointOfInterestFilter
A filter for including or excluding point-of-interest categories in search results.
Declaration
pointOfInterestFilter?: PointOfInterestFilter;Discussion
If you provide a PointOfInterestFilter and set includePointsOfInterest to false in the constructor, the filter overrides the Boolean and the search returns points of interest allowed by the filter.
To include or exclude all points of interest use filterIncludingAllCategories or filterExcludingAllCategories, respectively.