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.
Creates a new map button.
init(handler: ((CPMapButton) -> Void)? = nil)The block invoked after the user taps the map button.
A newly initialized map button.