com.google.maps.gwt.client
Class PathElevationRequest

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.PathElevationRequest

public class PathElevationRequest
extends JavaScriptObject

An elevation query sent by the ElevationService containing the path along which to return sampled data. This request defines a continuous path along the earth along which elevation samples should be taken at evenly-spaced distances. All paths from vertex to vertex use segments of the great circle between those two points. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected PathElevationRequest()
          Protected constructor avoids default public constructor.
 
Method Summary
static PathElevationRequest create()
           
 void setPath( path)
          The path along which to collect elevation values.
 void setSamples(double samples)
          Required.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathElevationRequest

protected PathElevationRequest()
Protected constructor avoids default public constructor.

Method Detail

create

public static final PathElevationRequest create()

setPath

public final void setPath( path)
The path along which to collect elevation values.


setSamples

public final void setSamples(double samples)
Required. The number of equidistant points along the given path for which to retrieve elevation data, including the endpoints. The number of samples must be a value between 2 and 1024.