Instance Property

requestsAlternateRoutes

A Boolean value that indicates whether the server should return multiple routes when they are available.

Declaration

Boolean requestsAlternateRoutes;

Discussion

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 true.

See Also

Directions Request

origin

The start point for routing directions.

destination

The end point for routing directions.

transportType

The mode of transportation to which directions should apply.

mapkit.Directions.Transport

The modes of transportation.