Add way to track drawn Markers on map and delete/move them. Delete not implemented for BasicDrawing.

This commit is contained in:
Holt59
2018-02-25 12:10:59 +01:00
parent a9ab69965e
commit 481e30e80c
4 changed files with 93 additions and 12 deletions

View File

@@ -61,14 +61,14 @@ public interface Drawing {
*
* @param point
*/
public void drawMarker(Point point);
public MarkerTracker drawMarker(Point point);
/**
* Draw the given point with the given color.
*
* @param point
*/
public void drawMarker(Point point, Color color);
public MarkerTracker drawMarker(Point point, Color color);
/**
* Draw a point width the given width and color. Do not use this to mark
@@ -100,8 +100,7 @@ public interface Drawing {
*
* @param path
* @param color
* @param markers
* Show origin and destination markers.
* @param markers Show origin and destination markers.
*/
public void drawPath(Path path, Color color, boolean markers);
@@ -118,8 +117,7 @@ public interface Drawing {
*
*
* @param path
* @param markers
* Show origin and destination markers.
* @param markers Show origin and destination markers.
*/
public void drawPath(Path path, boolean markers);