On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

RoutingOptions.TravelMode

Stay organized with collections Save and categorize content based on your preferences.
public static abstract @interface RoutingOptions.TravelMode implements Annotation

Specifies the type of transportation used to tailor the directions. The default is DRIVING.

See Also

Constant Summary

int CYCLING Provides directions based on travel for a bicycle.
int DRIVING Provides directions based on travel for a 4-wheeled, motorized vehicle.
int TAXI Provides directions on routes for a vehicle authorized to use taxi lanes.
int TWO_WHEELER Provides directions based on travel for 2-wheeled, motorized transport.
int WALKING Provides directions based on walking.

Inherited Method Summary

Constants

public static final int CYCLING

Provides directions based on travel for a bicycle.

Constant Value: 1

public static final int DRIVING

Provides directions based on travel for a 4-wheeled, motorized vehicle. For example, a car or truck.

Constant Value: 0

public static final int TAXI

Provides directions on routes for a vehicle authorized to use taxi lanes.

Constant Value: 4

public static final int TWO_WHEELER

Provides directions based on travel for 2-wheeled, motorized transport. For example, a motorcycle or scooter.

Constant Value: 3

public static final int WALKING

Provides directions based on walking.

Constant Value: 2