Class

MKPointOfInterestFilter

A list that specifies point of interest categories to be included or excluded in a map view, local search, or local search completer.

Declaration

@interface MKPointOfInterestFilter : NSObject

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

filterExcludingAllCategories

A filter that excludes all point of interest categories.

filterIncludingAllCategories

A filter that includes all point of interest categories.

- initExcludingCategories:

Initialize the point of interest filter with the provided list of categories to exclude.

- initIncludingCategories:

Initialize the point of interest filter with the provided list of categories to include.

Querying FIlter Behavior

- excludesCategory:

Returns a Boolean value indicating whether the filter excludes the point of interest category.

- includesCategory:

Returns a Boolean value indicating whether the filter includes the point of interest category.

Relationships

Inherits From

See Also

Points of Interest

Optimizing Map Views with Filtering and Camera Constraints

Display a map that is relevant to the user by filtering points of interest and search results, and constraining the visible region.

MKPointOfInterestCategory

Point of interest categories.