public class PathElevationRequest extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
PathElevationRequest()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
JsArray<LatLng> |
getPath()
The path along which to collect elevation values.
|
int |
getSamples()
Required.
|
static PathElevationRequest |
newInstance()
An elevation query sent by the ElevationService containing the path along which to return sampled data.
|
void |
setPath(JsArray<LatLng> path)
The path along which to collect elevation values.
|
void |
setSamples(int samples)
Required.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final PathElevationRequest newInstance()
public final void setPath(JsArray<LatLng> path)
path
- public final void setSamples(int samples)
samples
- public final int getSamples()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.