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

List of all members.

Public Member Functions

 FavoritesLayer ()
void initLayer (OsmandMapTileView view)
void destroyLayer ()
boolean drawInScreenPixels ()
void onDraw (Canvas canvas, RectF latLonBounds, RectF tilesRect, DrawSettings nightMode)
boolean onLongPressEvent (PointF point)
void getFavoriteFromPoint (PointF point, List<?super FavouritePoint > res)
boolean onSingleTap (PointF point)
OnClickListener getActionListener (List< String > actionsList, Object o)
String getObjectDescription (Object o)
String getObjectName (Object o)
void collectObjectsFromPoint (PointF point, List< Object > res)
LatLon getObjectLocation (Object o)

Constructor & Destructor Documentation


Member Function Documentation

void net.osmand.plus.views.FavoritesLayer.collectObjectsFromPoint ( PointF  point,
List< Object >  res 
)

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.

OnClickListener net.osmand.plus.views.FavoritesLayer.getActionListener ( List< String >  actionsList,
Object  o 
)
void net.osmand.plus.views.FavoritesLayer.getFavoriteFromPoint ( PointF  point,
List<?super FavouritePoint res 
)
void net.osmand.plus.views.FavoritesLayer.onDraw ( Canvas  canvas,
RectF  latLonBounds,
RectF  tilesRect,
DrawSettings  nightMode 
) [virtual]

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