Export (0) Print
Expand All

MajorRoutesOptions Class

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see the Bing Maps REST Services

Contains properties used to refine a CalculateRoutesFromMajorRoads service request. This class inherits from the RouteOptions Class.

public class MajorRoutesOptions : RouteOptions

Name Description

MajorRoutesOptions

Initializes a new instance of a MajorRoutesOptions object.

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:
© 2014 Microsoft