|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.services.DirectionsStep
public class DirectionsStep
A single DirectionsStep in a DirectionsResult. Some fields may be undefined. Note that though this object is "JSON-like," it is not strictly JSON, as it directly includes LatLng objects.
See DirectionsStep API Doc
Constructor Summary | |
---|---|
protected |
DirectionsStep()
use newInstance(); |
Method Summary | |
---|---|
Distance |
getDistance()
The distance covered by this step. |
Duration |
getDuration()
The typical time required to perform this step in seconds and in text form. |
LatLng |
getEnd_Location()
The ending location of this step. |
String |
getInstructions()
Instructions for this step. |
JsArray<LatLng> |
getPath()
A sequence of LatLngs describing the course of this step. |
LatLng |
getStart_Location()
The starting location of this step. |
TravelMode |
getTravelMode()
The mode of travel used in this step. |
static DirectionsStep |
newInstance()
A single DirectionsStep in a DirectionsResult. |
void |
setDistance(Distance distance)
The distance covered by this step. |
void |
setDuration(Duration duration)
The typical time required to perform this step in seconds and in text form. |
void |
setEnd_Location(LatLng end_location)
The ending location of this step. |
void |
setInstructions(String instructions)
Instructions for this step. |
void |
setPath(JsArray<LatLng> path)
A sequence of LatLngs describing the course of this step. |
void |
setStart_Location(LatLng start_location)
The starting location of this step. |
void |
setTravel_Mode(TravelMode travel_mode)
The mode of travel used in this step. |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected DirectionsStep()
Method Detail |
---|
public static final DirectionsStep newInstance()
public final void setDistance(Distance distance)
distance
- public final Distance getDistance()
public final void setDuration(Duration duration)
duration
- public final Duration getDuration()
public final void setEnd_Location(LatLng end_location)
end_location
- public final LatLng getEnd_Location()
public final void setInstructions(String instructions)
instructions
- public final String getInstructions()
public final void setPath(JsArray<LatLng> path)
path
- public final JsArray<LatLng> getPath()
public final void setStart_Location(LatLng start_location)
start_location
- public final LatLng getStart_Location()
public final void setTravel_Mode(TravelMode travel_mode)
travel_mode
- public final TravelMode getTravelMode()
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |