RouteOptimization Enumeration
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. |