|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.maps.client.geocode.DirectionResults
public final class DirectionResults
This class provides encapsulation for the JavaScript Maps API GDirections methods that should be used after a query successfully returns.
Method Summary | |
---|---|
LatLngBounds |
getBounds()
This method is used to get the bounding box for the result of this directions query. |
java.lang.String |
getCopyrightsHtml()
Returns an HTML string containing the copyright information for this result. |
Distance |
getDistance()
Returns an object literal representing the total distance of the directions request (across all routes). |
Duration |
getDuration()
Returns an object representing the total time of the directions request (across all routes). |
java.util.List<Marker> |
getMarkers()
Returns the list of Markers associated with the geocode. |
java.util.List<Placemark> |
getPlacemarks()
Returns the list of the geocoded results. |
Polyline |
getPolyline()
Returns the Polyline object associated with the entire directions response. |
java.util.List<Route> |
getRoutes()
Returns the list of Route objects in the response. |
java.lang.String |
getSummaryHtml()
Returns an HTML snippet containing a summary of the distance and time for this entire directions request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public LatLngBounds getBounds()
public java.lang.String getCopyrightsHtml()
public Distance getDistance()
public Duration getDuration()
public java.util.List<Marker> getMarkers()
public java.util.List<Placemark> getPlacemarks()
public Polyline getPolyline()
public java.util.List<Route> getRoutes()
public java.lang.String getSummaryHtml()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |