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

List of all members.

Public Member Functions

 MapInfoLayer (MapActivity map, RouteLayer layer)
void initLayer (final OsmandMapTileView view)
void applyTheme ()
void createTopBarElements ()
boolean distChanged (int oldDist, int dist)
void onDraw (Canvas canvas, RectF latlonBounds, RectF tilesRect, DrawSettings nightMode)
void destroyLayer ()
boolean drawInScreenPixels ()
ImageView getBackToLocation ()
View getProgressBar ()

Static Public Attributes

static float scaleCoefficient = 1

Constructor & Destructor Documentation


Member Function Documentation

boolean net.osmand.plus.views.MapInfoLayer.distChanged ( int  oldDist,
int  dist 
)

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.MapInfoLayer.onDraw ( Canvas  canvas,
RectF  latlonBounds,
RectF  tilesRect,
DrawSettings  nightMode 
) [virtual]

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