<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPMapTemplate/dismissPanningInterface(animated:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPMapTemplate(im)dismissPanningInterfaceAnimated:"
  },
  "title" : "dismissPanningInterface(animated:)"
}
-->

# dismissPanningInterface(animated:)

Dismisses the panning interface.

```
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

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

---

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)