MajorRoutesOptions Properties

 

The properties of the MajorRoutesOptions class are listed here. For a complete list of MajorRoutesOptions class members, see the MajorRoutesOptions Class topic.

Name

Description

Mode 

A TravelMode Enumeration value specifying the type of directions to return. Optional. The default value is TravelMode.Driving. (Inherited from the RouteOptions Class.)

Optimization 

A RouteOptimization Enumeration value specifying the calculation method to use. Optional. The default value is RouteOptimization.MinimizeTime. (Inherited from the RouteOptions Class.)

ReturnRoutes 

A bool specifying whether or not to return calculated routes in the MajorRoutesResponse.Routes Property. Optional. The default is false.

RoutePathType 

A RoutePathType Enumeration value specifying the type of route path to return. Optional. The default value is RoutePathType.None. (Inherited from the RouteOptions Class.)

TrafficUsage 

A TrafficUsage Enumeration value specifying how traffic information is used in the route calculation. Optional. The default value is TrafficUsage.None. (Inherited from the RouteOptions Class.)

Show: