public interface ElevationProvider
| Modifier and Type | Field and Description |
|---|---|
static ElevationProvider |
NOOP |
| Modifier and Type | Method and Description |
|---|---|
double |
getEle(double lat,
double lon) |
void |
release()
Release resources.
|
void |
setAutoRemoveTemporaryFiles(boolean autoRemoveTemporary)
Creating temporary files can take a long time as we need to unpack them as well as to fill
our DataAccess object, so this option can be used to disable the default clear mechanism via
specifying 'false'.
|
ElevationProvider |
setBaseURL(String baseURL)
Specifies the service URL where to download the elevation data.
|
void |
setCalcMean(boolean calcMean)
Configuration option to include surrounding elevation points when fetching the elevation.
|
ElevationProvider |
setDAType(DAType daType)
Set to true if you have a small area and need high speed access.
|
static final ElevationProvider NOOP
double getEle(double lat,
double lon)
ElevationProvider setBaseURL(String baseURL)
ElevationProvider setDAType(DAType daType)
void setCalcMean(boolean calcMean)
void release()
void setAutoRemoveTemporaryFiles(boolean autoRemoveTemporary)
Copyright © 2012–2018. All rights reserved.