mapTemplate(_:displayStyleFor:)
Asks the delegate for the maneuver’s display style.
Declaration
optional func mapTemplate(_ mapTemplate: CPMapTemplate, displayStyleFor maneuver: CPManeuver) -> CPManeuverDisplayStyleParameters
- mapTemplate:
The current map template.
- maneuver:
The maneuver that the system applies the display style to.
Return Value
A display style that determines the visual layout for the maneuver.
Discussion
The display style only applies to the second maneuver that you provide in the navigation session’s upcomingManeuvers array.