Packagecom.esri.aws.services
Classpublic class RouteSummary

Contains requested information about driving directions for a route.



Public Properties
 PropertyDefined by
  distanceUnits : String
The units of the route distance.
RouteSummary
  numericDistance : Number
The total length of the route.
RouteSummary
  numericTime : Number
The estimated minutes the route takes to drive.
RouteSummary
  routeExtent : Envelope
The envelope (coordSys maxX, maxY, minX, minY) of the route.
RouteSummary
  totalDistance : String
The description of the length of the route for example, "Driving distance: 2.8 mile(s)".
RouteSummary
  totalTime : String
The description of the estimated time the route takes to drive for example, "Driving time: 22 minute(s)".
RouteSummary
Property detail
distanceUnitsproperty
public var distanceUnits:String

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

numericDistanceproperty 
public var numericDistance:Number

The total length of the route. Distance is rounded to two decimal places.

numericTimeproperty 
public var numericTime:Number

The estimated minutes the route takes to drive. Time is rounded to whole minutes.

routeExtentproperty 
public var routeExtent:Envelope

The envelope (coordSys maxX, maxY, minX, minY) of the route.

totalDistanceproperty 
public var totalDistance:String

The description of the length of the route for example, "Driving distance: 2.8 mile(s)". Distance is rounded to one decimal place.

totalTimeproperty 
public var totalTime:String

The description of the estimated time the route takes to drive for example, "Driving time: 22 minute(s)". Time is rounded to whole minutes.