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

List of all members.

Public Member Functions

 MapControlsLayer (MapActivity activity)
boolean drawInScreenPixels ()
void initLayer (final OsmandMapTileView view)
void destroyLayer ()
void onDraw (Canvas canvas, RectF latlonRect, RectF tilesRect, DrawSettings nightMode)
boolean onSingleTap (PointF point)
void showAndHideTransparencyBar (CommonPreference< Integer > transparenPreference, BaseMapLayer[] layerToChange)

Package Attributes

ShadowText cacheRulerText = null
int cacheRulerZoom = 0
double cacheRulerTileX = 0
double cacheRulerTileY = 0
float cacheRulerTextLen = 0

Constructor & Destructor Documentation


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.MapControlsLayer.onDraw ( Canvas  canvas,
RectF  latlonRect,
RectF  tilesRect,
DrawSettings  nightMode 
) [virtual]
void net.osmand.plus.views.MapControlsLayer.showAndHideTransparencyBar ( CommonPreference< Integer >  transparenPreference,
BaseMapLayer[]  layerToChange 
)

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