Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Bing Maps REST Services.
Contains properties used to refine a CalculateRoutesFromMajorRoads service request. This class inherits from the RouteOptions Class.
Syntax
public class MajorRoutesOptions : RouteOptions
Public Class MajorRoutesOptions Inherits RouteOptions
Constructor
Name |
Description |
|---|---|
Initializes a new instance of a MajorRoutesOptions object. |
Public Properties
Name |
Description |
|---|---|
A TravelMode Enumeration value specifying the type of directions to return. Optional. The default value is TravelMode.Driving. (Inherited from the RouteOptions Class.) |
|
A RouteOptimization Enumeration value specifying the calculation method to use. Optional. The default value is RouteOptimization.MinimizeTime. (Inherited from the RouteOptions Class.) |
|
A bool specifying whether or not to return calculated routes in the MajorRoutesResponse.Routes Property. Optional. The default is false. |
|
A RoutePathType Enumeration value specifying the type of route path to return. Optional. The default value is RoutePathType.None. (Inherited from the RouteOptions Class.) |
|
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.) |