OsmAnd
|
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 |
void net.osmand.plus.views.MapControlsLayer.destroyLayer | ( | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.MapControlsLayer.drawInScreenPixels | ( | ) | [virtual] |
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.initLayer | ( | final OsmandMapTileView | view | ) |
void net.osmand.plus.views.MapControlsLayer.onDraw | ( | Canvas | canvas, |
RectF | latlonRect, | ||
RectF | tilesRect, | ||
DrawSettings | nightMode | ||
) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.MapControlsLayer.onSingleTap | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
void net.osmand.plus.views.MapControlsLayer.showAndHideTransparencyBar | ( | CommonPreference< Integer > | transparenPreference, |
BaseMapLayer[] | layerToChange | ||
) |
ShadowText net.osmand.plus.views.MapControlsLayer.cacheRulerText = null [package] |
float net.osmand.plus.views.MapControlsLayer.cacheRulerTextLen = 0 [package] |
double net.osmand.plus.views.MapControlsLayer.cacheRulerTileX = 0 [package] |
double net.osmand.plus.views.MapControlsLayer.cacheRulerTileY = 0 [package] |
int net.osmand.plus.views.MapControlsLayer.cacheRulerZoom = 0 [package] |