OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net.osmand.plus.views.GPXLayer Class Reference
Inheritance diagram for net.osmand.plus.views.GPXLayer:
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 isShowingCurrentTrack ()
void clearCurrentGPX ()
void setTracks (List< Track > tracks)
void addTrackPoint (WptPt pt)
void destroyLayer ()
boolean drawInScreenPixels ()
boolean onLongPressEvent (PointF point)
boolean onSingleTap (PointF point)

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.GPXLayer.onDraw ( Canvas  canvas,
RectF  latLonBounds,
RectF  tilesRect,
DrawSettings  nightMode 
) [virtual]
boolean net.osmand.plus.views.GPXLayer.onSingleTap ( PointF  point)
void net.osmand.plus.views.GPXLayer.setTracks ( List< Track >  tracks)

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