<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/PointOfInterestCategories",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI25PointOfInterestCategoriesV"
  },
  "title" : "PointOfInterestCategories"
}
-->

# PointOfInterestCategories

A structure you use to define points of interest to include or exclude on a map.

```
struct PointOfInterestCategories
```

## Topics

### Creating point of interest categories

  <doc://com.apple.documentation/documentation/Swift/ExpressibleByArrayLiteral/init(arrayLiteral:)>

### Categories to include or exclude

[`static var all: PointOfInterestCategories`](/documentation/MapKit/PointOfInterestCategories/all)

A list of all points of interest categories, both included and excluded.

[`static var excludingAll: PointOfInterestCategories`](/documentation/MapKit/PointOfInterestCategories/excludingAll)

A list of point of interest categories to exclude from display on the map.

### Modifying the categories to include or exclude

[`static func excluding([MKPointOfInterestCategory]) -> PointOfInterestCategories`](/documentation/MapKit/PointOfInterestCategories/excluding(_:)-16bp0)

Show all points of interest except those belonging to certain categories using the array you provide.

[`static func excluding(MKPointOfInterestCategory...) -> PointOfInterestCategories`](/documentation/MapKit/PointOfInterestCategories/excluding(_:)-4jo9h)

Show all points of interest except those belonging to certain categories using the list you provide.

[`static func including([MKPointOfInterestCategory]) -> PointOfInterestCategories`](/documentation/MapKit/PointOfInterestCategories/including(_:)-22f7x)

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

[`static func including(MKPointOfInterestCategory...) -> PointOfInterestCategories`](/documentation/MapKit/PointOfInterestCategories/including(_:)-6flda)

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

### Type aliases

  <doc://com.apple.documentation/documentation/Swift/ExpressibleByArrayLiteral/ArrayLiteralElement>

## Relationships

### Conforms To

[`Escapable`](/documentation/Swift/Escapable)

[`Copyable`](/documentation/Swift/Copyable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

---

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)