Instance Property

distance

The expected travel distance, in meters.

Declaration

var distance: CLLocationDistance { get }

Discussion

This property contains the overall distance traversed by the route.

See Also

Getting the Travel Information

var expectedTravelTime: TimeInterval

The expected travel time in seconds.

var expectedDepartureDate: Date

The expected departure time.

var expectedArrivalDate: Date

The expected arrival time.

var transportType: MKDirectionsTransportType

The type of conveyance used to determine the travel time.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software