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

List of all members.

Public Member Functions

void initLayer (OsmandMapTileView view)
void onDraw (Canvas canvas, RectF latLonBounds, RectF tilesRect, DrawSettings nightMode)
boolean isLocationVisible (Location l)
Location getLastKnownLocation ()
void setHeading (Float heading)
Float getHeading ()
void setLastKnownLocation (Location lastKnownLocation)
void destroyLayer ()
void checkAppMode (ApplicationMode appMode)
boolean drawInScreenPixels ()

Protected Attributes

Location lastKnownLocation = null

Static Protected Attributes

static final int RADIUS = 7
static final float HEADING_ANGLE = 60

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

Member Data Documentation

final float net.osmand.plus.views.PointLocationLayer.HEADING_ANGLE = 60 [static, protected]
final int net.osmand.plus.views.PointLocationLayer.RADIUS = 7 [static, protected]

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