Follow us on GitHub

com.google.gwt.maps.client.services
Class DirectionsWaypoint

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.services.DirectionsWaypoint

public class DirectionsWaypoint
extends JavaScriptObject

A DirectionsWaypoint represents a location between origin and destination through which the trip should be routed.

See DirectionsWaypoint API Doc


Constructor Summary
protected DirectionsWaypoint()
          use newInstance();
 
Method Summary
 LatLng getLocation_LatLng()
          Waypoint location.
 String getLocation_String()
          Waypoint location.
 boolean getStopOver()
          If true, indicates that this waypoint is a stop between the origin and destination.
static DirectionsWaypoint newInstance()
          A DirectionsWaypoint represents a location between origin and destination through which the trip should be routed.
 void setLocation(LatLng location)
          Waypoint location.
 void setLocation(String location)
          Waypoint location.
 void setStopOver(boolean stopover)
          If true, indicates that this waypoint is a stop between the origin and destination.
 
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

DirectionsWaypoint

protected DirectionsWaypoint()
use newInstance();

Method Detail

newInstance

public static final DirectionsWaypoint newInstance()
A DirectionsWaypoint represents a location between origin and destination through which the trip should be routed.


setLocation

public final void setLocation(String location)
Waypoint location. Can be an address string or LatLng. Optional.

Parameters:
location -

getLocation_String

public final String getLocation_String()
Waypoint location. Can be an address string or LatLng. Optional.


setLocation

public final void setLocation(LatLng location)
Waypoint location. Can be an address string or LatLng. Optional.

Parameters:
location -

getLocation_LatLng

public final LatLng getLocation_LatLng()
Waypoint location. Can be an address string or LatLng. Optional.


setStopOver

public final void setStopOver(boolean stopover)
If true, indicates that this waypoint is a stop between the origin and destination. This has the effect of splitting the route into two. This value is true by default. Optional.

Parameters:
stopover -

getStopOver

public final boolean getStopOver()
If true, indicates that this waypoint is a stop between the origin and destination. This has the effect of splitting the route into two. This value is true by default. Optional.



Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.