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

java.lang.Object
  extended by com.google.gwt.maps.client.geocode.Waypoint

public final class Waypoint
extends java.lang.Object

This class is used to create an array of arguments to the Directions class for specifying multi-point directions.


Constructor Summary
Waypoint(LatLng point)
          Construct a waypoint from a point.
Waypoint(Placemark placemark)
          Construct a waypoint from a Placemark.
Waypoint(java.lang.String address)
          Construct a waypoint from an address entered as a string.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Waypoint

public Waypoint(LatLng point)
Construct a waypoint from a point.

Parameters:
point - point that specifies this waypoint.

Waypoint

public Waypoint(Placemark placemark)
Construct a waypoint from a Placemark.

Parameters:
placemark - an address that specifies this waypoint.

Waypoint

public Waypoint(java.lang.String address)
Construct a waypoint from an address entered as a string.

Parameters:
address - an address that specifies this waypoint.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object