@ParametersAreNonnullByDefault
public class GLRouteElevation
extends com.getyourmap.glmap.GLNativeObject
| Modifier and Type | Class and Description |
|---|---|
static interface |
GLRouteElevation.ResultsCallback
Callback that will be called when request is finished
|
| Modifier and Type | Method and Description |
|---|---|
static void |
cancelRequest(long requestID)
Cancels request that was started
|
float |
getMax()
Maximum value
|
float |
getMin()
Minimal value
|
float |
heightAtIndex(int index)
Returns height at given point index
|
static long |
requestHeightForRoute(GLRoute routeData,
GLRouteElevation.ResultsCallback resultsCallback)
Requests height for points in route
|
public static long requestHeightForRoute(GLRoute routeData, GLRouteElevation.ResultsCallback resultsCallback)
routeData - route to update with height informationresultsCallback - callback that is called when request is finished of cancelledpublic static void cancelRequest(long requestID)
requestID - ID of request to cancelpublic float getMin()
public float getMax()
public float heightAtIndex(int index)
index - index of pointCopyright © 2018 GetYourMap. All Rights Reserved.