Packagecom.esri.aws.services
Classpublic class RouteFinderOptions

Contains parameters for using Route Finder Web Service.



Public Properties
 PropertyDefined 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
Property detail
avoidTrafficproperty
public var avoidTraffic:Boolean

Determines if current traffic conditions are considered when generating a route. If value is set to true, trafficDataSource must also be set.

dataSourceproperty 
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".

languageproperty 
public var language:String

The language used in the route description.

The default value is "english".

returnDirectionsproperty 
public var returnDirections:Boolean

Determines if a description of the route is returned.

returnGeometryproperty 
public var returnGeometry:Boolean

Determines if the geometry of the route is returned.

routeOptionsproperty 
public var routeOptions:RouteOptions

The parameters for the route.

trafficDataSourceproperty 
public var trafficDataSource:String

The name of the traffic data source used to create traffic barriers. Valid value is "ArcWeb:TC.Traffic.US".

trafficSeverityproperty 
public var trafficSeverity:int

The 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)..

unitsproperty 
public var units:String

The units of the route. Valid values are "km" (kilometers) or "miles".

The default value is "miles".