com.google.gwt.maps.client.geocode
Class Step

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.geocode.Step

public class Step
extends com.google.gwt.core.client.JavaScriptObject

Created by the Directions object to store information about a single step within a route in a directions result. Clients can not directly create objects of this class.


Constructor Summary
protected Step()
           
 
Method Summary
 java.lang.String getDescriptionHtml()
          Returns an HTML string containing the description of this step.
 Distance getDistance()
          Returns the total distance of this step.
 Duration getDuration()
          Returns the total time of this step.
 LatLng getLatLng()
          Returns the first point along the polyline for this step.
 int getPolylineIndex()
          Returns the index of the first point along the polyline for 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

Step

protected Step()
Method Detail

getDescriptionHtml

public final java.lang.String getDescriptionHtml()
Returns an HTML string containing the description of this step.

Returns:
an HTML string containing the description of this step.

getDistance

public final Distance getDistance()
Returns the total distance of this step.

Returns:
the total distance of this step.

getDuration

public final Duration getDuration()
Returns the total time of this step.

Returns:
the total time of this step.

getLatLng

public final LatLng getLatLng()
Returns the first point along the polyline for this step.

Returns:
the first point along the polyline for this step.

getPolylineIndex

public final int getPolylineIndex()
Returns the index of the first point along the polyline for this step.

Returns:
the index of the first point along the polyline for this step.