Contents

showPanel(_:completion:)

Shows an overlay with the specified panel.

Declaration

func showPanel(_ panel: CPMapPanel, completion: ((Bool, (any Error)?) -> Void)? = nil)
func showPanel(_ panel: CPMapPanel) async throws -> Bool

Parameters

  • panel:

    The panel to display.

  • completion:

    An optional block called when the overlay has been shown.