---
title: "pushPanel(_:completion:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cpmaptemplate/pushpanel(_:completion:)"
---

# pushPanel(_:completion:)

Pushes a new panel.

## Declaration

```swift
func pushPanel(_ panel: CPMapPanel, completion: ((Bool, (any Error)?) -> Void)? = nil)
```

```swift
func pushPanel(_ panel: CPMapPanel) async throws -> Bool
```

## Parameters

- `panel`: The panel to push.
- `completion`: An optional block called when the panel has been pushed.
