OsmAnd
|
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) |
void net.osmand.plus.views.ContextMenuLayer.destroyLayer | ( | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.ContextMenuLayer.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.ContextMenuLayer.initLayer | ( | OsmandMapTileView | view | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
void net.osmand.plus.views.ContextMenuLayer.onDraw | ( | Canvas | canvas, |
RectF | latLonBounds, | ||
RectF | tilesRect, | ||
DrawSettings | nightMode | ||
) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.ContextMenuLayer.onLongPressEvent | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.ContextMenuLayer.onSingleTap | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.ContextMenuLayer.onTouchEvent | ( | MotionEvent | event | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.ContextMenuLayer.pressedInTextView | ( | float | px, |
float | py | ||
) |
void net.osmand.plus.views.ContextMenuLayer.setLocation | ( | LatLon | loc, |
String | description | ||
) |
void net.osmand.plus.views.ContextMenuLayer.setSelectedObject | ( | Object | toShow | ) |