Class

CPTrip

A journey consisting of an origin, a destination, and route choices.

Declaration

@interface CPTrip : NSObject

Topics

Creating a Trip

- initWithOrigin:destination:routeChoices:

Initializes a trip with an origin, destination, and route choices.

Getting the Trip's Origin and Destination

origin

The trip's origin.

destination

The trip's destination.

Getting Route Choices

routeChoices

The list of route choices for the trip.

CPRouteChoice

A possible route for a trip.

Providing Additional Information

userInfo

An object containing custom information associated with the trip.

Relationships

Inherits From

Conforms To

See Also

Route Guidance

CPNavigationSession

An object representing an active route guidance session.

CPManeuver

A maneuver containing navigation instructions and distance from the previous maneuver.