OsmAnd
|
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 |
net.osmand.plus.views.MapInfoLayer.MapInfoLayer | ( | MapActivity | map, |
RouteLayer | layer | ||
) |
void net.osmand.plus.views.MapInfoLayer.destroyLayer | ( | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.MapInfoLayer.distChanged | ( | int | oldDist, |
int | dist | ||
) |
boolean net.osmand.plus.views.MapInfoLayer.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.
ImageView net.osmand.plus.views.MapInfoLayer.getBackToLocation | ( | ) |
void net.osmand.plus.views.MapInfoLayer.initLayer | ( | final OsmandMapTileView | view | ) |
void net.osmand.plus.views.MapInfoLayer.onDraw | ( | Canvas | canvas, |
RectF | latlonBounds, | ||
RectF | tilesRect, | ||
DrawSettings | nightMode | ||
) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
float net.osmand.plus.views.MapInfoLayer.scaleCoefficient = 1 [static] |