Instance Property

distance

The route distance in meters.

Declaration

var distance: CLLocationDistance { get }

Discussion

This property reflects the distance that the user covers while traversing the path of the route. It is not a direct distance between the start and end points of the route.

See Also

Getting Additional Route Details

var name: String

The name assigned to the route.

var advisoryNotices: [String]

An array of advisory notice strings for the route.

var expectedTravelTime: TimeInterval

The expected travel time in seconds.

var transportType: MKDirectionsTransportType

The overall route transport type.