---
title: MKPointOfInterestFilter
framework: mapkit
role: symbol
role_heading: Class
path: mapkit/mkpointofinterestfilter
---

# MKPointOfInterestFilter

A filter that includes or excludes point of interest categories from a map view, local search, or local search completer.

## Declaration

```swift
class MKPointOfInterestFilter
```

## Overview

Overview You can apply a point of interest filter in a map view (pointOfInterestFilter), a local search request (pointOfInterestFilter), a search completer (pointOfInterestFilter), and in snapshot options (pointOfInterestFilter).

## Topics

### Creating filters

- [excludingAll](mapkit/mkpointofinterestfilter/excludingall.md)
- [includingAll](mapkit/mkpointofinterestfilter/includingall.md)
- [init(excluding:)](mapkit/mkpointofinterestfilter/init(excluding:).md)
- [init(including:)](mapkit/mkpointofinterestfilter/init(including:).md)

### Querying filter behavior

- [excludes(_:)](mapkit/mkpointofinterestfilter/excludes(_:).md)
- [includes(_:)](mapkit/mkpointofinterestfilter/includes(_:).md)

### Initializers

- [init(coder:)](mapkit/mkpointofinterestfilter/init(coder:).md)
- [init(excludingCategories:)](mapkit/mkpointofinterestfilter/init(excludingcategories:).md)
- [init(includingCategories:)](mapkit/mkpointofinterestfilter/init(includingcategories:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Points of interest

- [Identifying unique locations with Place IDs](mapkit/identifying-unique-locations-with-place-ids.md)
- [MKMapFeatureAnnotation](mapkit/mkmapfeatureannotation.md)
- [MKMapFeatureOptions](mapkit/mkmapfeatureoptions.md)
- [MKMapItemRequest](mapkit/mkmapitemrequest.md)
- [MKIconStyle](mapkit/mkiconstyle.md)
- [MKPointOfInterestCategory](mapkit/mkpointofinterestcategory.md)
