OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
net.osmand.plus.routing.RoutingHelper Class Reference

List of all members.

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

Constructor & Destructor Documentation


Member Function Documentation

void net.osmand.plus.routing.RoutingHelper.addListener ( IRouteInformationListener  l)
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)
boolean net.osmand.plus.routing.RoutingHelper.isFollowingMode ( )
boolean net.osmand.plus.routing.RoutingHelper.removeListener ( IRouteInformationListener  l)
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)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines