RouteOptions.Mode Property

 

A TravelMode Enumeration value specifying the type of directions to return. Optional. The default value is TravelMode.Driving. Set this property before making a service request.

Syntax

public TravelMode Mode { set; get; }
Public Property Mode As TravelMode

Remarks

If the travel mode for a CalculateRoute Method request is Walking and the “as the crow flies” distance between the start and end locations is more than 250 kilometers, then an error is returned.