---
title: "dismissPanningInterface(animated:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cpmaptemplate/dismisspanninginterface(animated:)"
---

# dismissPanningInterface(animated:)

Dismisses the panning interface.

## Declaration

```swift
func dismissPanningInterface(animated: Bool)
```

## Parameters

- `animated`: A Boolean value that determines whether to animate the dismissal of the panning interface. Set to doc://com.apple.documentation/documentation/Swift/true to animate the dismissal.

## Discussion

Discussion When dismissing the panning interface, the system shows the previously hidden map buttons.

## See Also

### Panning the Map

- [showPanningInterface(animated:)](carplay/cpmaptemplate/showpanninginterface(animated:).md)
- [isPanningInterfaceVisible](carplay/cpmaptemplate/ispanninginterfacevisible.md)
