Instance Property


A Boolean indicating whether your app wants multiple routes when they are available.


var requestsAlternateRoutes: Bool { get set }


When this property is set to false, the server returns a single route between the start and end points. When this property is true, the server may return additional routes for the user to follow. The server returns additional routes only if they are available and represent a reasonable path that the user might take.

The default value of this property is false.

See Also

Specifying Transportation Options

var transportType: MKDirectionsTransportType

The type of conveyance to which the directions should apply.

var departureDate: Date?

The departure date for the trip.

var arrivalDate: Date?

The arrival date for the trip.