Instance Property

transportType

The mode of transportation to which directions should apply.

Declaration

mapkit.Directions.Transport transportType;

Discussion

You can use this property to specify whether you want directions suited to a particular type of transportation. For example, you can specify if you want walking directions or driving directions.

The default value of this property is mapkit.Directions.Transport.Automobile.

See Also

Directions Request

origin

The start point for routing directions.

destination

The end point for routing directions.

requestsAlternateRoutes

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

mapkit.Directions.Transport

The modes of transportation.