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

List of all members.

Public Member Functions

 POIMapLayer (MapActivity activity)
PoiFilter getFilter ()
void setFilter (PoiFilter filter)
void getAmenityFromPoint (PointF point, List<?super Amenity > am)
boolean onSingleTap (PointF point)
void initLayer (OsmandMapTileView view)
int getRadiusPoi (int zoom)
void onDraw (Canvas canvas, RectF latLonBounds, RectF tilesRect, DrawSettings nightMode)
void destroyLayer ()
boolean drawInScreenPixels ()
OnClickListener getActionListener (List< String > actionsList, Object o)
String getObjectDescription (Object o)
String getObjectName (Object o)
void collectObjectsFromPoint (PointF point, List< Object > objects)
LatLon getObjectLocation (Object o)

Static Public Attributes

static final int TEXT_WRAP = 15
static final int TEXT_LINES = 3
static final
org.apache.commons.logging.Log 
log = LogUtil.getLog(POIMapLayer.class)

Constructor & Destructor Documentation


Member Function Documentation

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

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.POIMapLayer.getActionListener ( List< String >  actionsList,
Object  o 
)
void net.osmand.plus.views.POIMapLayer.getAmenityFromPoint ( PointF  point,
List<?super Amenity >  am 
)
void net.osmand.plus.views.POIMapLayer.onDraw ( Canvas  canvas,
RectF  latLonBounds,
RectF  tilesRect,
DrawSettings  nightMode 
) [virtual]

Member Data Documentation

final org.apache.commons.logging.Log net.osmand.plus.views.POIMapLayer.log = LogUtil.getLog(POIMapLayer.class) [static]

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