|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.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.
THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
DirectionsStep()
Protected constructor avoids default public constructor. |
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 |
getEndLocation()
The ending location of this step. |
java.lang.String |
getInstructions()
Instructions for this step. |
|
getPath()
A sequence of LatLng
s describing the course of this step. |
LatLng |
getStartLocation()
The starting location of this step. |
TravelMode |
getTravelMode()
The mode of travel used in this step. |
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 |
setEndLocation(LatLng end_location)
The ending location of this step. |
void |
setInstructions(java.lang.String instructions)
Instructions for this step. |
void |
setPath(
A sequence of LatLng
s describing the course of this step. |
void |
setStartLocation(LatLng start_location)
The starting location of this step. |
void |
setTravelMode(TravelMode travel_mode)
The mode of travel used in this step. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DirectionsStep()
Method Detail |
---|
public final Distance getDistance()
public final Duration getDuration()
public final LatLng getEndLocation()
public final java.lang.String getInstructions()
public finalgetPath()
LatLng
s describing the course of this step.
public final LatLng getStartLocation()
public final TravelMode getTravelMode()
public final void setDistance(Distance distance)
public final void setDuration(Duration duration)
public final void setEndLocation(LatLng end_location)
public final void setInstructions(java.lang.String instructions)
public final void setPath(path)
LatLng
s describing the course of this step.
public final void setStartLocation(LatLng start_location)
public final void setTravelMode(TravelMode travel_mode)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |