OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net.osmand.plus.views.RouteInfoLayer Class Reference
Inheritance diagram for net.osmand.plus.views.RouteInfoLayer:
net.osmand.plus.views.OsmandMapLayer

List of all members.

Public Member Functions

 RouteInfoLayer (RoutingHelper routingHelper, LinearLayout layout, ContextMenuLayer contextMenu)
void initLayer (OsmandMapTileView view)
boolean isVisible ()
boolean couldBeVisible ()
void destroyLayer ()
boolean drawInScreenPixels ()
boolean onLongPressEvent (PointF point)
boolean onSingleTap (PointF point)
void newRouteIsCalculated (boolean updateRoute, boolean suppressTurnPrompt)
boolean isUserDefinedVisible ()
void setVisible (boolean visible)
void routeWasCancelled ()
void onDraw (Canvas canvas, RectF latlonRect, RectF tilesRect, DrawSettings nightMode)

Constructor & Destructor Documentation

net.osmand.plus.views.RouteInfoLayer.RouteInfoLayer ( RoutingHelper  routingHelper,
LinearLayout  layout,
ContextMenuLayer  contextMenu 
)

Member Function Documentation

This method returns whether canvas should be rotated as map rotated before onDraw(Canvas). If the layer draws simply layer over screen (not over map) it should return true.

Implements net.osmand.plus.views.OsmandMapLayer.

void net.osmand.plus.views.RouteInfoLayer.newRouteIsCalculated ( boolean  updateRoute,
boolean  suppressTurnPrompt 
)
void net.osmand.plus.views.RouteInfoLayer.onDraw ( Canvas  canvas,
RectF  latlonRect,
RectF  tilesRect,
DrawSettings  nightMode 
) [virtual]

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