Enumeration

mapkit.Directions.Transport

The modes of transportation.

Declaration

interface mapkit.Directions.Transport {
    const String Automobile;
    const String Walking;
};

Overview

Constants that describe the mode of transportation in DirectionsRequest and DirectionsResponse.

Topics

Transport Types

mapkit.Directions.Transport.Walking

A constant identifying the mode of transportation as walking.

mapkit.Directions.Transport.Automobile

A constant identifying the mode of transportation as driving.

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.

transportType

The mode of transportation to which directions should apply.