Instance Property

transportType

The overall route transport type.

Declaration

var transportType: MKDirectionsTransportType { get }

Discussion

This property reflects the primary transport type used for the route. Individual steps of the route might use different transport types.

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 distance: CLLocationDistance

The route distance in meters.

var expectedTravelTime: TimeInterval

The expected travel time in seconds.