Package slash.navigation.googlemaps
Class GoogleElevationService
java.lang.Object
slash.navigation.googlemaps.GoogleElevationService
- All Implemented Interfaces:
ElevationService
Encapsulates REST access to the Google Elevation API Service.
- Author:
- Christian Pesch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcalculateRemainingDownloadSize(List<MapDescriptor> mapDescriptors) voiddownloadElevationData(List<MapDescriptor> mapDescriptors) voiddownloadElevationDataFor(List<LongitudeAndLatitude> longitudeAndLatitudes, boolean waitForDownload) getCoverageTiles(BoundingBox area) getElevationFor(double longitude, double latitude) getName()getPath()booleanbooleanvoid
-
Constructor Details
-
GoogleElevationService
public GoogleElevationService()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceElevationService
-
isOverQueryLimit
public boolean isOverQueryLimit()- Specified by:
isOverQueryLimitin interfaceElevationService
-
getElevationFor
- Specified by:
getElevationForin interfaceElevationService- Throws:
IOException
-
isDownload
public boolean isDownload()- Specified by:
isDownloadin interfaceElevationService
-
getPath
- Specified by:
getPathin interfaceElevationService
-
setPath
- Specified by:
setPathin interfaceElevationService
-
getDirectory
- Specified by:
getDirectoryin interfaceElevationService
-
downloadElevationDataFor
public void downloadElevationDataFor(List<LongitudeAndLatitude> longitudeAndLatitudes, boolean waitForDownload) - Specified by:
downloadElevationDataForin interfaceElevationService
-
calculateRemainingDownloadSize
- Specified by:
calculateRemainingDownloadSizein interfaceElevationService
-
downloadElevationData
- Specified by:
downloadElevationDatain interfaceElevationService
-