init(waypoint:travelEstimates:)
Initializes a new CPMapTemplateWaypoint with the specified waypoint and travel estimates.
Declaration
init(waypoint: CPNavigationWaypoint, travelEstimates: CPTravelEstimates)Parameters
- waypoint:
The navigation waypoint
- travelEstimates:
The calculated travel estimates for reaching this waypoint
Return Value
A new CPMapTemplateWaypoint instance ready for use with CarPlay templates