Contents

mapTemplate(_:selectedPreviewFor:using:)

Tells the delegate that the user selected a trip and route choice to preview.

Declaration

optional func mapTemplate(_ mapTemplate: CPMapTemplate, selectedPreviewFor trip: CPTrip, using routeChoice: CPRouteChoice)

Parameters

  • mapTemplate:

    The current map template.

  • trip:

    The selected trip.

  • routeChoice:

    The route chosen by the user.

See Also

Handling Navigation Events