---
title: mapDelegate
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpmaptemplate/mapdelegate
---

# mapDelegate

The object that serves as the delegate of the map template.

## Declaration

```swift
weak var mapDelegate: (any CPMapTemplateDelegate)? { get set }
```

## See Also

### Handling Map Template Events

- [CPMapTemplateDelegate](carplay/cpmaptemplatedelegate.md)
