<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Search/pointOfInterestFilter",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instp/mapkit.Search/pointOfInterestFilter"
  },
  "title" : "pointOfInterestFilter"
}
-->

# pointOfInterestFilter

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

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

## Discussion

If you provide a [`PointOfInterestFilter`](/documentation/MapKitJS/PointOfInterestFilter) and set [`includePointsOfInterest`](/documentation/MapKitJS/Search/includePointsOfInterest) to `false`, the filter takes precedence and MapKit JS ignores the Boolean.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)