Package slash.navigation.graphhopper
Class GraphHopper
java.lang.Object
slash.navigation.routing.BaseRoutingService
slash.navigation.graphhopper.GraphHopper
- All Implemented Interfaces:
RoutingService
Encapsulates access to the GraphHopper.
- Author:
- Christian Pesch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcalculateRemainingDownloadSize(List<MapDescriptor> mapDescriptors) voiddownloadRoutingData(List<MapDescriptor> mapDescriptors) downloadRoutingDataFor(String mapIdentifier, List<LongitudeAndLatitude> longitudeAndLatitudes) getCoverageTiles(BoundingBox area) getName()getPath()getRouteBetween(NavigationPosition from, NavigationPosition to, TravelMode travelMode, TravelRestrictions travelRestrictions) getRoutingCoverage(MapDescriptor mapDescriptor, Runnable onAvailable) The exact area for which the routing data of the given map is valid, if known.getSnapToRoadPosition(NavigationPosition position) booleanbooleanbooleanisRoutingDataAvailable(MapDescriptor mapDescriptor) Whether routing data for the given map is present locally.voidsetDataSources(DataSource kurviger, DataSource mapsforge, DataSource graphHopper) voidMethods inherited from class slash.navigation.routing.BaseRoutingService
addRoutingServiceListener, fireDownloading, fireInitializing, fireRouting
-
Constructor Details
-
Method Details
-
getName
-
isInitialized
public boolean isInitialized() -
isDownload
public boolean isDownload() -
getAvailableTravelModes
-
getPreferredTravelMode
-
getAvailableTravelRestrictions
-
getPath
-
setPath
-
downloadRoutingDataFor
public DownloadFuture downloadRoutingDataFor(String mapIdentifier, List<LongitudeAndLatitude> longitudeAndLatitudes) -
calculateRemainingDownloadSize
-
downloadRoutingData
-