---
title: "mapTemplate(_:pitchEndedWithCenter:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cpmaptemplatedelegate/maptemplate(_:pitchendedwithcenter:)"
---

# mapTemplate(_:pitchEndedWithCenter:)

Tells the delegate that a person stopped pitching the map.

## Declaration

```swift
optional func mapTemplate(_ mapTemplate: CPMapTemplate, pitchEndedWithCenter center: CGPoint)
```

## Parameters

- `mapTemplate`: The doc://com.apple.carplay/documentation/CarPlay/CPMapTemplate the gesture applies to.
- `center`: A CGPoint that indicates the center between two fingers performing the pitch gesture.
