OsmAnd
|
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) |
void net.osmand.plus.views.FavoritesLayer.collectObjectsFromPoint | ( | PointF | point, |
List< Object > | res | ||
) |
void net.osmand.plus.views.FavoritesLayer.destroyLayer | ( | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.FavoritesLayer.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.FavoritesLayer.getActionListener | ( | List< String > | actionsList, |
Object | o | ||
) |
void net.osmand.plus.views.FavoritesLayer.getFavoriteFromPoint | ( | PointF | point, |
List<?super FavouritePoint > | res | ||
) |
String net.osmand.plus.views.FavoritesLayer.getObjectDescription | ( | Object | o | ) |
LatLon net.osmand.plus.views.FavoritesLayer.getObjectLocation | ( | Object | o | ) |
String net.osmand.plus.views.FavoritesLayer.getObjectName | ( | Object | o | ) |
void net.osmand.plus.views.FavoritesLayer.initLayer | ( | OsmandMapTileView | view | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
void net.osmand.plus.views.FavoritesLayer.onDraw | ( | Canvas | canvas, |
RectF | latLonBounds, | ||
RectF | tilesRect, | ||
DrawSettings | nightMode | ||
) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.FavoritesLayer.onLongPressEvent | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.FavoritesLayer.onSingleTap | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.