<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPPointOfInterest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPPointOfInterest"
  },
  "title" : "CPPointOfInterest"
}
-->

# CPPointOfInterest

An object that describes a point of interest on the template’s map and in its scrollable picker.

```
class CPPointOfInterest
```

## Overview

A point of interest describes a geographical location on a map. It also provides supplementary information about the location, such as a title and summary that the template displays in a scrollable picker and on a detail card. A point of interest also provides the buttons the detail card presents to the user as contextual actions.

You provide an array of `CPPointOfInterest` objects when initializing [`CPPointOfInterestTemplate`](/documentation/CarPlay/CPPointOfInterestTemplate), or whenever the visible region of the template’s map changes, by calling the template’s [`setPointsOfInterest(_:selectedIndex:)`](/documentation/CarPlay/CPPointOfInterestTemplate/setPointsOfInterest(_:selectedIndex:)) method.

`CPPointOfInterestTemplate` displays a maximum of twelve points of interest.

## Topics

### Creating a Point of Interest

[`-  initWithLocation:title:subtitle:summary:detailTitle:detailSubtitle:detailSummary:pinImage:`](/documentation/CarPlay/CPPointOfInterest/init(location:title:subtitle:summary:detailTitle:detailSubtitle:detailSummary:pinImage:))

Creates a point of interest for a specific location.

### Managing the Map Annotation

[`location`](/documentation/CarPlay/CPPointOfInterest/location)

The map item that contains the point of interest’s geographical information.

[`pinImage`](/documentation/CarPlay/CPPointOfInterest/pinImage)

A custom image that the map annotation displays.

### Managing the Picker Item’s Data

[`title`](/documentation/CarPlay/CPPointOfInterest/title)

The title that the picker’s item displays.

[`subtitle`](/documentation/CarPlay/CPPointOfInterest/subtitle)

The subtitle that the picker’s item displays.

[`summary`](/documentation/CarPlay/CPPointOfInterest/summary)

The summary that the picker’s item displays.

### Managing the Detail Card’s Data

[`detailTitle`](/documentation/CarPlay/CPPointOfInterest/detailTitle)

The detail card’s title.

[`detailSubtitle`](/documentation/CarPlay/CPPointOfInterest/detailSubtitle)

The detail card’s subtitle.

[`detailSummary`](/documentation/CarPlay/CPPointOfInterest/detailSummary)

The detail card’s summary.

### Managing the Detail Card’s Buttons

[`primaryButton`](/documentation/CarPlay/CPPointOfInterest/primaryButton)

The detail card’s primary action button.

[`secondaryButton`](/documentation/CarPlay/CPPointOfInterest/secondaryButton)

The detail card’s secondary action button.

### Attaching Additional Context

[`userInfo`](/documentation/CarPlay/CPPointOfInterest/userInfo)

An opaque value for the point of interest.

### Initializers

[`-  initWithLocation:title:subtitle:summary:detailTitle:detailSubtitle:detailSummary:pinImage:selectedPinImage:`](/documentation/CarPlay/CPPointOfInterest/init(location:title:subtitle:summary:detailTitle:detailSubtitle:detailSummary:pinImage:selectedPinImage:))

### Instance Properties

[`selectedPinImage`](/documentation/CarPlay/CPPointOfInterest/selectedPinImage)

### Type Properties

[`pinImageSize`](/documentation/CarPlay/CPPointOfInterest/pinImageSize)

[`selectedPinImageSize`](/documentation/CarPlay/CPPointOfInterest/selectedPinImageSize)

## Relationships

### Conforms To

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

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

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

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCoding`](/documentation/Foundation/NSCoding)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)