Instances of this class are not safe for re-use at this stage. A new one should be created for each request.
| Modifier and Type | Field and Description |
|---|---|
| private ElevationServiceCallback | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | getElevationAlongPath(PathElevationRequest req, ElevationServiceCallback callback)
Create a request for elevations for samples along a path. |
| public void | getElevationForLocations(LocationElevationRequest req, ElevationServiceCallback callback)
Create a request for elevations for multiple locations. |
| public void | processResponse(Object results, Object status)
Processess the Javascript response and generates the required objects that are then passed back to the original callback. |
| callback | back to summary |
|---|---|
| private ElevationServiceCallback callback | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| ElevationService | back to summary |
|---|---|
| public ElevationService() | |
| getElevationAlongPath | back to summary |
|---|---|
| public void getElevationAlongPath(PathElevationRequest req, ElevationServiceCallback callback) Create a request for elevations for samples along a path. | |
| getElevationForLocations | back to summary |
|---|---|
| public void getElevationForLocations(LocationElevationRequest req, ElevationServiceCallback callback) Create a request for elevations for multiple locations. | |
| processResponse | back to summary |
|---|---|
| public void processResponse(Object results, Object status) Processess the Javascript response and generates the required objects that are then passed back to the original callback. | |