---
title: "including(_:)"
framework: mapkit
role: symbol
role_heading: Type Method
path: "mapkit/pointofinterestcategories/including(_:)-22f7x"
---

# including(_:)

Show only points of interest belonging to certain categories from the provided array.

## Declaration

```swift
static func including(_ categories: [MKPointOfInterestCategory]) -> PointOfInterestCategories
```

## Parameters

- `categories`: An array of point of interest categories to include.

## Return Value

Return Value Returns the points of interest to include.

## See Also

### Modifying the categories to include or exclude

- [excluding(_:)](mapkit/pointofinterestcategories/excluding(_:)-16bp0.md)
- [excluding(_:)](mapkit/pointofinterestcategories/excluding(_:)-4jo9h.md)
- [including(_:)](mapkit/pointofinterestcategories/including(_:)-6flda.md)
