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

# mapTemplateWillDismissPanningInterface(_:)

Tells the delegate that the panning interface will disappear from the map.

## Declaration

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

## Parameters

- `mapTemplate`: The current map template.

## See Also

### Panning the Map

- [mapTemplateDidShowPanningInterface(_:)](carplay/cpmaptemplatedelegate/maptemplatedidshowpanninginterface(_:).md)
- [mapTemplateDidDismissPanningInterface(_:)](carplay/cpmaptemplatedelegate/maptemplatediddismisspanninginterface(_:).md)
- [mapTemplateDidBeginPanGesture(_:)](carplay/cpmaptemplatedelegate/maptemplatedidbeginpangesture(_:).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)
