---
title: pointOfInterestFilter
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/search/pointofinterestfilter
---

# pointOfInterestFilter

A filter to use to include or exclude point-of-interest categories.

## Declaration

```data
get pointOfInterestFilter(): PointOfInterestFilter | null;
set pointOfInterestFilter(value: PointOfInterestFilter | null);
```

## Discussion

Discussion If you provide a PointOfInterestFilter and set includePointsOfInterest to false, the filter takes precedence and MapKit JS ignores the Boolean.
