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

List of all members.

Classes

interface  IContextMenuProvider

Public Member Functions

 ContextMenuLayer (MapActivity activity)
void destroyLayer ()
void initLayer (OsmandMapTileView view)
void onDraw (Canvas canvas, RectF latLonBounds, RectF tilesRect, DrawSettings nightMode)
void setLocation (LatLon loc, String description)
boolean onLongPressEvent (PointF point)
boolean drawInScreenPixels ()
boolean pressedInTextView (float px, float py)
String getSelectedObjectName ()
boolean onSingleTap (PointF point)
boolean onTouchEvent (MotionEvent event)
void setSelectedObject (Object toShow)

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.ContextMenuLayer.onDraw ( Canvas  canvas,
RectF  latLonBounds,
RectF  tilesRect,
DrawSettings  nightMode 
) [virtual]
boolean net.osmand.plus.views.ContextMenuLayer.pressedInTextView ( float  px,
float  py 
)
void net.osmand.plus.views.ContextMenuLayer.setLocation ( LatLon  loc,
String  description 
)

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