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

# pointOfInterestFilter

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

```
pointOfInterestFilter?: PointOfInterestFilter;
```

## Discussion

If you provide a [`PointOfInterestFilter`](/documentation/MapKitJS/PointOfInterestFilter) and set [`includePointsOfInterest`](/documentation/MapKitJS/SearchConstructorOptions/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)