public class DirectionsFeatureSet extends FeatureSet
Modifier and Type | Method and Description |
---|---|
Extent |
getExtent()
The extent of the route.
|
Polyline |
getMergedGeometry()
A single polyline representing the route.
|
java.lang.String |
getRouteId()
The ID of the route returned from the server.
|
java.lang.String |
getRouteName()
Name specified in RouteParameters.stops.
|
double |
getTotalDriveTime()
Actual drive time calculated for the route.
|
double |
getTotalLength()
The length of the route as specified in RouteParameters.directionsLengthUnits.
|
double |
getTotalTime()
The total time calculated for the route as specified in RouteParameters.directionsTimeAttribute.
|
create, create, getDisplayFieldName, getFeatures, getFieldAliases, getGeometryType, getSpatialReference, setDisplayFieldName, setFeatures, setFieldAliases, setGeometryType, setSpatialReference
public final Extent getExtent()
public final Polyline getMergedGeometry()
public final java.lang.String getRouteId()
public final java.lang.String getRouteName()
public final double getTotalDriveTime()
public final double getTotalLength()
public final double getTotalTime()