OsmAnd
|
Classes | |
interface | IRouteInformationListener |
class | RouteDirectionInfo |
class | TurnType |
Public Member Functions | |
RoutingHelper (OsmandSettings settings, Context context, CommandPlayer player) | |
boolean | isFollowingMode () |
void | setFollowingMode (boolean isFollowingMode) |
void | setFinalAndCurrentLocation (LatLon finalLocation, Location currentLocation) |
synchronized void | setFinalAndCurrentLocation (LatLon finalLocation, Location currentLocation, GPXRouteParams gpxRoute) |
void | clearCurrentRoute (LatLon newFinalLocation) |
GPXRouteParams | getCurrentGPXRoute () |
List< Location > | getCurrentRoute () |
void | setAppMode (ApplicationMode mode) |
ApplicationMode | getAppMode () |
LatLon | getFinalLocation () |
boolean | isRouterEnabled () |
boolean | isRouteCalculated () |
VoiceRouter | getVoiceRouter () |
boolean | finishAtLocation (Location currentLocation) |
Location | getCurrentLocation () |
void | addListener (IRouteInformationListener l) |
boolean | removeListener (IRouteInformationListener l) |
void | setCurrentLocation (Location currentLocation) |
void | tryMarkPassedRoute (Location currentLocation) |
void | directionDetection (Location currentLocation) |
synchronized int | getLeftDistance () |
String | getGeneralRouteInformation () |
Location | getLocationFromRouteDirection (RouteDirectionInfo i) |
RouteDirectionInfo | getNextRouteDirectionInfo () |
RouteDirectionInfo | getNextNextRouteDirectionInfo () |
List< RouteDirectionInfo > | getRouteDirections () |
int | getDistanceToNextRouteDirection () |
synchronized int | getLeftTime () |
boolean | isRouteBeingCalculated () |
boolean | hasPointsToShow () |
synchronized void | fillLocationsToShow (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, List< Location > l) |
GPXFile | generateGPXFileWithRoute () |
Static Public Member Functions | |
static boolean | makeUturnWhenPossible () |
static boolean | suppressTurnPrompt () |
static int | turnImminent () |
Static Public Attributes | |
static boolean | makeUturnWhenPossible = false |
static boolean | suppressTurnPrompt = false |
static int | turnImminent = 0 |
Protected Member Functions | |
Context | getContext () |
Protected Attributes | |
int | currentDirectionInfo = 0 |
int | currentRoute = 0 |
net.osmand.plus.routing.RoutingHelper.RoutingHelper | ( | OsmandSettings | settings, |
Context | context, | ||
CommandPlayer | player | ||
) |
void net.osmand.plus.routing.RoutingHelper.addListener | ( | IRouteInformationListener | l | ) |
void net.osmand.plus.routing.RoutingHelper.clearCurrentRoute | ( | LatLon | newFinalLocation | ) |
void net.osmand.plus.routing.RoutingHelper.directionDetection | ( | Location | currentLocation | ) |
synchronized void net.osmand.plus.routing.RoutingHelper.fillLocationsToShow | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude, | ||
List< Location > | l | ||
) |
boolean net.osmand.plus.routing.RoutingHelper.finishAtLocation | ( | Location | currentLocation | ) |
Context net.osmand.plus.routing.RoutingHelper.getContext | ( | ) | [protected] |
GPXRouteParams net.osmand.plus.routing.RoutingHelper.getCurrentGPXRoute | ( | ) |
List<Location> net.osmand.plus.routing.RoutingHelper.getCurrentRoute | ( | ) |
synchronized int net.osmand.plus.routing.RoutingHelper.getLeftDistance | ( | ) |
synchronized int net.osmand.plus.routing.RoutingHelper.getLeftTime | ( | ) |
Location net.osmand.plus.routing.RoutingHelper.getLocationFromRouteDirection | ( | RouteDirectionInfo | i | ) |
RouteDirectionInfo net.osmand.plus.routing.RoutingHelper.getNextNextRouteDirectionInfo | ( | ) |
RouteDirectionInfo net.osmand.plus.routing.RoutingHelper.getNextRouteDirectionInfo | ( | ) |
List<RouteDirectionInfo> net.osmand.plus.routing.RoutingHelper.getRouteDirections | ( | ) |
boolean net.osmand.plus.routing.RoutingHelper.isFollowingMode | ( | ) |
static boolean net.osmand.plus.routing.RoutingHelper.makeUturnWhenPossible | ( | ) | [static] |
boolean net.osmand.plus.routing.RoutingHelper.removeListener | ( | IRouteInformationListener | l | ) |
void net.osmand.plus.routing.RoutingHelper.setCurrentLocation | ( | Location | currentLocation | ) |
void net.osmand.plus.routing.RoutingHelper.setFinalAndCurrentLocation | ( | LatLon | finalLocation, |
Location | currentLocation | ||
) |
synchronized void net.osmand.plus.routing.RoutingHelper.setFinalAndCurrentLocation | ( | LatLon | finalLocation, |
Location | currentLocation, | ||
GPXRouteParams | gpxRoute | ||
) |
void net.osmand.plus.routing.RoutingHelper.setFollowingMode | ( | boolean | isFollowingMode | ) |
static boolean net.osmand.plus.routing.RoutingHelper.suppressTurnPrompt | ( | ) | [static] |
void net.osmand.plus.routing.RoutingHelper.tryMarkPassedRoute | ( | Location | currentLocation | ) |
static int net.osmand.plus.routing.RoutingHelper.turnImminent | ( | ) | [static] |
int net.osmand.plus.routing.RoutingHelper.currentDirectionInfo = 0 [protected] |
int net.osmand.plus.routing.RoutingHelper.currentRoute = 0 [protected] |
boolean net.osmand.plus.routing.RoutingHelper.makeUturnWhenPossible = false [static] |
boolean net.osmand.plus.routing.RoutingHelper.suppressTurnPrompt = false [static] |
int net.osmand.plus.routing.RoutingHelper.turnImminent = 0 [static] |