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

# mapTemplateWillDismissPanningInterface(_:)

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

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

## Parameters

`mapTemplate`

The current map template.

---

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)