---
title: CPPointOfInterestTemplateDelegate
framework: carplay
role: symbol
role_heading: Protocol
path: carplay/cppointofinteresttemplatedelegate
---

# CPPointOfInterestTemplateDelegate

The methods to handle a Point of Interest template’s events.

## Declaration

```swift
@MainActor protocol CPPointOfInterestTemplateDelegate : NSObjectProtocol
```

## Overview

Overview You use the CPPointOfInterestTemplateDelegate protocol to respond to a Point of Interest template’s events. The protocol defines methods that CarPlay calls in response to these events, and your implementation provides the appropriate behavior for when the events occur. For example, when the user pans the template’s map and the visible region changes, update the points of interest that the template displays to only those relevant to the new region.

## Topics

### Responding to Map Region Changes

- [pointOfInterestTemplate(_:didChangeMapRegion:)](carplay/cppointofinteresttemplatedelegate/pointofinteresttemplate(_:didchangemapregion:).md)

### Responding to Point of Interest Selection

- [pointOfInterestTemplate(_:didSelectPointOfInterest:)](carplay/cppointofinteresttemplatedelegate/pointofinteresttemplate(_:didselectpointofinterest:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Handling Template Events

- [pointOfInterestDelegate](carplay/cppointofinteresttemplate/pointofinterestdelegate.md)
