---
title: "mapTemplateDidBeginPanGesture(_:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cpmaptemplatedelegate/maptemplatedidbeginpangesture(_:)"
---

# mapTemplateDidBeginPanGesture(_:)

Tells the delegate that the pan gesture has started.

## Declaration

```swift
optional func mapTemplateDidBeginPanGesture(_ mapTemplate: CPMapTemplate)
```

## Parameters

- `mapTemplate`: The current map template.

## Discussion

Discussion CarPlay doesn’t call this method when connected to some CarPlay systems.

## See Also

### Panning the Map

- [mapTemplateDidShowPanningInterface(_:)](carplay/cpmaptemplatedelegate/maptemplatedidshowpanninginterface(_:).md)
- [mapTemplateWillDismissPanningInterface(_:)](carplay/cpmaptemplatedelegate/maptemplatewilldismisspanninginterface(_:).md)
- [mapTemplateDidDismissPanningInterface(_:)](carplay/cpmaptemplatedelegate/maptemplatediddismisspanninginterface(_:).md)
- [mapTemplate(_:panBeganWith:)](carplay/cpmaptemplatedelegate/maptemplate(_:panbeganwith:).md)
- [mapTemplate(_:panWith:)](carplay/cpmaptemplatedelegate/maptemplate(_:panwith:).md)
- [mapTemplate(_:panEndedWith:)](carplay/cpmaptemplatedelegate/maptemplate(_:panendedwith:).md)
- [CPMapTemplate.PanDirection](carplay/cpmaptemplate/pandirection.md)
- [mapTemplate(_:didEndPanGestureWithVelocity:)](carplay/cpmaptemplatedelegate/maptemplate(_:didendpangesturewithvelocity:).md)
- [mapTemplate(_:didUpdatePanGestureWithTranslation:velocity:)](carplay/cpmaptemplatedelegate/maptemplate(_:didupdatepangesturewithtranslation:velocity:).md)
