---
title: PointOfInterestFilter
framework: mapkitjs
role: symbol
role_heading: Class
path: mapkitjs/pointofinterestfilter
---

# PointOfInterestFilter

A filter for determining the points of interest to include or exclude on a map or in a local search.

## Declaration

```data
class PointOfInterestFilter
```

## Overview

Overview You can apply a point-of-interest filter when you create a map (MapConstructorOptions), when you update an existing map (Map), or when you fetch points of interest (SearchConstructorOptions).

## Topics

### Creating filters

- [excluding(categories)](mapkitjs/pointofinterestfilter/excluding.md)
- [including(categories)](mapkitjs/pointofinterestfilter/including.md)
- [excludingAllCategories](mapkitjs/pointofinterestfilter/excludingallcategories.md)
- [includingAllCategories](mapkitjs/pointofinterestfilter/includingallcategories.md)

### Querying filter behavior

- [excludesCategory(category)](mapkitjs/pointofinterestfilter/excludescategory.md)
- [includesCategory(category)](mapkitjs/pointofinterestfilter/includescategory.md)

## See Also

### Points of interest

- [filterExcludingAllCategories](mapkitjs/mapkit/filterexcludingallcategories.md)
- [filterIncludingAllCategories](mapkitjs/mapkit/filterincludingallcategories.md)
- [PointsOfInterestSearch](mapkitjs/pointsofinterestsearch.md)
- [MapFeatureAnnotation](mapkitjs/mapfeatureannotation.md)
- [MapFeatureAnnotationGlyphImage](mapkitjs/mapfeatureannotationglyphimage.md)
