<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPMapTemplateDelegate/mapTemplate(_:pitchWithCenter:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(pl)CPMapTemplateDelegate(im)mapTemplate:pitchWithCenter:"
  },
  "title" : "mapTemplate(_:pitchWithCenter:)"
}
-->

# mapTemplate(_:pitchWithCenter:)

Called when a pitch gesture changes. May not be called when connected to some CarPlay systems

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

## Parameters

`mapTemplate`

The [`CPMapTemplate`](/documentation/CarPlay/CPMapTemplate) the gesture applies to.

`center`

A `CGPoint` that indicates the center between two fingers performing the pitch gesture.

## Discussion

Tells the delegate that a person is pitching the map.

---

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)