OsmAnd
|
Classes | |
class | OpenStreetBug |
Public Member Functions | |
OsmBugsLayer (MapActivity activity) | |
void | initLayer (OsmandMapTileView view) |
void | destroyLayer () |
boolean | drawInScreenPixels () |
void | onDraw (Canvas canvas, RectF latLonBounds, RectF tilesRect, DrawSettings nightMode) |
int | getRadiusBug (int zoom) |
void | requestToLoad (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, final int zoom) |
boolean | onLongPressEvent (PointF point) |
void | getBugFromPoint (PointF point, List<?super OpenStreetBug > res) |
boolean | onSingleTap (PointF point) |
void | clearCache () |
boolean | createNewBug (double latitude, double longitude, String text, String authorName) |
boolean | addingComment (long id, String text, String authorName) |
boolean | closingBug (long id) |
void | openBug (final double latitude, final double longitude) |
void | commentBug (final OpenStreetBug bug) |
void | refreshMap () |
void | closeBug (final OpenStreetBug bug) |
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) |
Dialog | onCreateDialog (int id) |
void | onPrepareDialog (int id, Dialog dialog) |
Protected Member Functions | |
List< OpenStreetBug > | loadingBugs (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude) |
Static Protected Attributes | |
static final String | KEY_LATITUDE = "latitude" |
static final String | KEY_LONGITUDE = "longitude" |
static final String | KEY_BUG = "bug" |
boolean net.osmand.plus.views.OsmBugsLayer.addingComment | ( | long | id, |
String | text, | ||
String | authorName | ||
) |
void net.osmand.plus.views.OsmBugsLayer.closeBug | ( | final OpenStreetBug | bug | ) |
boolean net.osmand.plus.views.OsmBugsLayer.closingBug | ( | long | id | ) |
void net.osmand.plus.views.OsmBugsLayer.collectObjectsFromPoint | ( | PointF | point, |
List< Object > | res | ||
) |
void net.osmand.plus.views.OsmBugsLayer.commentBug | ( | final OpenStreetBug | bug | ) |
boolean net.osmand.plus.views.OsmBugsLayer.createNewBug | ( | double | latitude, |
double | longitude, | ||
String | text, | ||
String | authorName | ||
) |
void net.osmand.plus.views.OsmBugsLayer.destroyLayer | ( | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.OsmBugsLayer.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.OsmBugsLayer.getActionListener | ( | List< String > | actionsList, |
Object | o | ||
) |
void net.osmand.plus.views.OsmBugsLayer.getBugFromPoint | ( | PointF | point, |
List<?super OpenStreetBug > | res | ||
) |
String net.osmand.plus.views.OsmBugsLayer.getObjectDescription | ( | Object | o | ) |
LatLon net.osmand.plus.views.OsmBugsLayer.getObjectLocation | ( | Object | o | ) |
String net.osmand.plus.views.OsmBugsLayer.getObjectName | ( | Object | o | ) |
int net.osmand.plus.views.OsmBugsLayer.getRadiusBug | ( | int | zoom | ) |
void net.osmand.plus.views.OsmBugsLayer.initLayer | ( | OsmandMapTileView | view | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
List<OpenStreetBug> net.osmand.plus.views.OsmBugsLayer.loadingBugs | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude | ||
) | [protected] |
Dialog net.osmand.plus.views.OsmBugsLayer.onCreateDialog | ( | int | id | ) |
Implements net.osmand.plus.activities.DialogProvider.
void net.osmand.plus.views.OsmBugsLayer.onDraw | ( | Canvas | canvas, |
RectF | latLonBounds, | ||
RectF | tilesRect, | ||
DrawSettings | nightMode | ||
) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.OsmBugsLayer.onLongPressEvent | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
void net.osmand.plus.views.OsmBugsLayer.onPrepareDialog | ( | int | id, |
Dialog | dialog | ||
) |
Implements net.osmand.plus.activities.DialogProvider.
boolean net.osmand.plus.views.OsmBugsLayer.onSingleTap | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
void net.osmand.plus.views.OsmBugsLayer.openBug | ( | final double | latitude, |
final double | longitude | ||
) |
void net.osmand.plus.views.OsmBugsLayer.requestToLoad | ( | double | topLatitude, |
double | leftLongitude, | ||
double | bottomLatitude, | ||
double | rightLongitude, | ||
final int | zoom | ||
) |
final String net.osmand.plus.views.OsmBugsLayer.KEY_BUG = "bug" [static, protected] |
final String net.osmand.plus.views.OsmBugsLayer.KEY_LATITUDE = "latitude" [static, protected] |
final String net.osmand.plus.views.OsmBugsLayer.KEY_LONGITUDE = "longitude" [static, protected] |