The DirectionsFeatureSet type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Bounds | The extent of the route. The value is a common delimited string | |
| DirectionsText | A collection of the directions from the segments of the returned route. The value is an array of strings.
This array corresponds to the Times and Lengths properties. A given index in each of these arrays will refer to the same segment in the route.
| |
| Error | If not null, the error returned by the query. Your code should check for a
non-null value before attempting to access the features. | |
| Features | The returned features. The value is an array of
GraphicFeature objects. | |
| Lengths | A collection of the lengths from the segments of the returned route. The value is an array of numbers.
This array corresponds to the DirectionsText and Times properties. A given index in each of these arrays will refer to the same segment in the route.
| |
| MergedGeometry | A polyline VEShape respresenting the complete route. | |
| RouteId | The ID of the route returned from the server. The value is a string | |
| RouteName | Name specified in RouteParameters.Stops. The value is a string | |
| Times | A collection of the times from the segments of the returned route. The value is an array of numbers.
This array corresponds to the DirectionsText and Lengths properties. A given index in each of these arrays will refer to the same segment in the route.
| |
| TotalDriveTime | Actual drive time calculated for the route. The value is a string.
| |
| TotalLength | The length of the route as specified in RouteParameters.DirectionsLengthUnits. The value is a number.
| |
| TotalTime | The total time calculated for the route as specified in RouteParameters.DirectionsTimeAttribute. The value is a string.
|
