OsmAnd
|
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) |
void net.osmand.plus.views.POIMapLayer.collectObjectsFromPoint | ( | PointF | point, |
List< Object > | objects | ||
) |
void net.osmand.plus.views.POIMapLayer.destroyLayer | ( | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.POIMapLayer.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.
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 | ||
) |
String net.osmand.plus.views.POIMapLayer.getObjectDescription | ( | Object | o | ) |
LatLon net.osmand.plus.views.POIMapLayer.getObjectLocation | ( | Object | o | ) |
String net.osmand.plus.views.POIMapLayer.getObjectName | ( | Object | o | ) |
int net.osmand.plus.views.POIMapLayer.getRadiusPoi | ( | int | zoom | ) |
void net.osmand.plus.views.POIMapLayer.initLayer | ( | OsmandMapTileView | view | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
void net.osmand.plus.views.POIMapLayer.onDraw | ( | Canvas | canvas, |
RectF | latLonBounds, | ||
RectF | tilesRect, | ||
DrawSettings | nightMode | ||
) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.POIMapLayer.onSingleTap | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
void net.osmand.plus.views.POIMapLayer.setFilter | ( | PoiFilter | filter | ) |
final org.apache.commons.logging.Log net.osmand.plus.views.POIMapLayer.log = LogUtil.getLog(POIMapLayer.class) [static] |
final int net.osmand.plus.views.POIMapLayer.TEXT_LINES = 3 [static] |
final int net.osmand.plus.views.POIMapLayer.TEXT_WRAP = 15 [static] |