| Package | com.esri.aws.services |
| Class | public class RouteFinderOptions |
| Property | Defined by | ||
|---|---|---|---|
| avoidTraffic : Boolean
Determines if current traffic conditions are considered when generating a route.
| RouteFinderOptions | ||
| dataSource : String = "auto"
The name of the data source to use for routing.
| RouteFinderOptions | ||
| language : String
The language used in the route description.
| RouteFinderOptions | ||
| returnDirections : Boolean
Determines if a description of the route is returned.
| RouteFinderOptions | ||
| returnGeometry : Boolean
Determines if the geometry of the route is returned.
| RouteFinderOptions | ||
| routeOptions : RouteOptions
The parameters for the route.
| RouteFinderOptions | ||
| trafficDataSource : String
The name of the traffic data source used to create traffic barriers.
| RouteFinderOptions | ||
| trafficSeverity : int
The traffic incident severity ratings to avoid.
| RouteFinderOptions | ||
| units : String
The units of the route.
| RouteFinderOptions | ||
| avoidTraffic | property |
public var avoidTraffic:BooleanDetermines if current traffic conditions are considered when generating a route. If value is set to true, trafficDataSource must also be set.
| dataSource | property |
public var dataSource:String = "auto"The name of the data source to use for routing. See Route Finder data sources for valid values. Use the name in parenthesis. List multiple data sources separated by semicolons to create your own automated data source, for example, "ArcWeb:NT.Streets.EU;ArcWeb:TA.Streets.EU".
| language | property |
public var language:StringThe language used in the route description.
The default value is "english".
| returnDirections | property |
public var returnDirections:BooleanDetermines if a description of the route is returned.
| returnGeometry | property |
public var returnGeometry:BooleanDetermines if the geometry of the route is returned.
| routeOptions | property |
public var routeOptions:RouteOptionsThe parameters for the route.
| trafficDataSource | property |
public var trafficDataSource:StringThe name of the traffic data source used to create traffic barriers. Valid value is "ArcWeb:TC.Traffic.US".
| trafficSeverity | property |
public var trafficSeverity:intThe traffic incident severity ratings to avoid. Valid values are "1" (severe), "2" (high), "3" (medium), or "4" (low). Traffic incidents at and above the set severity are avoided in a route, for example, "2" avoids high and severe incidents.
The default value is "0" (which avoids all incidents)..
| units | property |
public var units:StringThe units of the route. Valid values are "km" (kilometers) or "miles".
The default value is "miles".