Packagecom.esri.aws.services
Classpublic class SegmentDesc

Contains requested descriptions for each segment of a route. Each segment can have multiple lines of description. SegmentDesc is null if the object RouteStop parameter desc is null.

See also

RouteStop


Public Properties
 PropertyDefined by
  descriptiveDirections : String
The description of the route segment, for example, "Turn left on W Redlands Blvd".
SegmentDesc
  descriptiveDistance : String
The descriptive distance of the route segment, for example, "Driving distance: 2.8 mile(s)".
SegmentDesc
  extent : Envelope
The envelope (coordSys maxX, maxY, minX, minY) of the route segment.
SegmentDesc
  numericDistance : Number
The distance of the route segment for example "2.85".
SegmentDesc
  numericTime : Number
The estimated minutes the route segment takes to drive.
SegmentDesc
Property detail
descriptiveDirectionsproperty
public var descriptiveDirections:String

The description of the route segment, for example, "Turn left on W Redlands Blvd". Value is null if SegmentDesc is a route stop.

descriptiveDistanceproperty 
public var descriptiveDistance:String

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

extentproperty 
public var extent:Envelope

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

numericDistanceproperty 
public var numericDistance:Number

The distance of the route segment for example "2.85". Distance is rounded to two decimal places. Value is "0.0" if SegmentDesc is a route stop.

numericTimeproperty 
public var numericTime:Number

The estimated minutes the route segment takes to drive. Time is rounded to whole minutes. Value is "0" if SegmentDesc is a route stop.