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 route service request.
Syntax
public class RouteOptions
Public Class RouteOptions
Constructor
Name |
Description |
|---|---|
Initializes a new instance of a RouteOptions object. |
Public Properties
Name |
Description |
|---|---|
A TravelMode Enumeration value specifying the type of directions to return. Optional. The default value is TravelMode.Driving. |
|
A RouteOptimization Enumeration value specifying the calculation method to use. Optional. The default value is RouteOptimization.MinimizeTime. |
|
A RoutePathType Enumeration value specifying the type of route path to return. Optional. The default value is RoutePathType.None. |
|
A TrafficUsage Enumeration value specifying how traffic information is used in the route calculation. Optional. The default value is TrafficUsage.None. |
See Also
RouteRequest.Options Property
MajorRoutesRequest.Options Property