public class PathElevationRequest extends MapObject
Constructor and Description |
---|
PathElevationRequest()
Creates new PathElevationRequest object.
|
PathElevationRequest(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LatLng[] |
getPath()
Returns value of path property.
|
int |
getSamples()
Returns value of samples property.
|
void |
setPath(LatLng[] points)
Sets new value for path property.
|
void |
setSamples(int value)
Sets new value for samples property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public PathElevationRequest()
@Deprecated public PathElevationRequest(Map map)
map
- owner Map objectpublic LatLng[] getPath()
Represents the path along which to collect elevation values.
setPath(com.teamdev.jxmaps.LatLng[])
public void setPath(LatLng[] points)
points
- new property valuegetPath()
public int getSamples()
Contains 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 512 inclusive. Required.
setSamples(int)
public void setSamples(int value)
value
- new property valuegetSamples()