Contents

init(handler:)

Creates a new map button.

Declaration

init(handler: ((CPMapButton) -> Void)? = nil)

Parameters

  • handler:

    The block invoked after the user taps the map button.

Return Value

A newly initialized map button.