public class RouteSection
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
endPointIndex
Index of the last point (offset 0) in the route this section applies to (only included for routeRepresentation polyline).
|
protected int |
startPointIndex
Index of the first point (offset 0) in the route this section applies to (only included for routeRepresentation polyline).
|
protected java.lang.String |
travelMode
This attribute is either set to the value given to the request parameter
travelMode, if this travel mode is possible, or to other which indicates that the given mode
of transport is not possible in this section.
|
Constructor and Description |
---|
RouteSection() |
Modifier and Type | Method and Description |
---|---|
int |
getEndPointIndex()
Index of the last point (offset 0) in the route this section applies to (only included for routeRepresentation polyline).
|
int |
getStartPointIndex()
Index of the first point (offset 0) in the route this section applies to (only included for routeRepresentation polyline).
|
java.lang.String |
getTravelMode()
This attribute is either set to the value given to the request parameter
travelMode, if this travel mode is possible, or to other which indicates that the given mode
of transport is not possible in this section.
|
protected int startPointIndex
protected int endPointIndex
protected java.lang.String travelMode
public int getStartPointIndex()
public int getEndPointIndex()
public java.lang.String getTravelMode()