Package slash.navigation.brouter
Class BRouter
java.lang.Object
slash.navigation.routing.BaseRoutingService
slash.navigation.brouter.BRouter
- All Implemented Interfaces:
RoutingService
Encapsulates access to the BRouter.
- Author:
- Christian Pesch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcalculateRemainingDownloadSize(List<MapDescriptor> mapDescriptors) voidvoiddownloadRoutingData(List<MapDescriptor> mapDescriptors) downloadRoutingDataFor(String mapIdentifier, List<LongitudeAndLatitude> longitudeAndLatitudes) getCoverageTiles(BoundingBox area) getName()getPath()getRouteBetween(NavigationPosition from, NavigationPosition to, TravelMode travelMode, TravelRestrictions travelRestrictions) getSnapToRoadPosition(NavigationPosition position) booleanbooleanvoidvoidsetProfilesAndSegments(DataSource profiles, DataSource segments) Methods inherited from class slash.navigation.routing.BaseRoutingService
addRoutingServiceListener, fireDownloading, fireInitializing, fireRoutingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface slash.navigation.routing.RoutingService
getRoutingCoverage, isRoutingDataAvailable
-
Field Details
-
DOT_BRF
- See Also:
-
DOT_RD5
- See Also:
-
-
Constructor Details
-
Method Details
-
getName
-
isInitialized
public boolean isInitialized() -
isDownload
public boolean isDownload() -
getAvailableTravelModes
-
getPreferredTravelMode
-
getAvailableTravelRestrictions
-
getPath
-
setPath
-
calculateRemainingDownloadSize
-
downloadRoutingData
-
downloadRoutingDataFor
public DownloadFuture downloadRoutingDataFor(String mapIdentifier, List<LongitudeAndLatitude> longitudeAndLatitudes) -
downloadProfiles
public void downloadProfiles()
-