Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RouteOptimization Enumeration

Bing

Defines optimization options for calculating directions.

Constants

Code Name Description

0

shortestTime

Calculate a route the shortest time.

1

shortestDistance

Calculate a route with the shortest distance.

3

minimizeMoney

Minimize the cost when calculating directions. This option only affects routes with a transitRouteMode that have the culture set to ja-jp.

4

minimizeTransfers

Minimize transit transfers when calculating directions. This option only affects routes with a transitRouteMode that have the culture set to ja-jp.

5

minimizeWalking

Minimize the amount of walking when calculating directions. This option only affects routes with a transitRouteMode that have the culture set to ja-jp.

Show:
© 2015 Microsoft