Export (0) Print
Expand All

RouteOptions 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 route service request.

public class RouteOptions

Name Description

RouteOptions

Initializes a new instance of a RouteOptions object.

Name Description

Mode

A TravelMode Enumeration value specifying the type of directions to return. Optional. The default value is TravelMode.Driving.

Optimization

A RouteOptimization Enumeration value specifying the calculation method to use. Optional. The default value is RouteOptimization.MinimizeTime.

RoutePathType

A RoutePathType Enumeration value specifying the type of route path to return. Optional. The default value is RoutePathType.None.

TrafficUsage

A TrafficUsage Enumeration value specifying how traffic information is used in the route calculation. Optional. The default value is TrafficUsage.None.

Show:
© 2014 Microsoft