The trackpoint line is now a line (poly-line) instead of a sequence of circles. A point along the poly-line is added every 250ms.

issue #18
This commit is contained in:
fjc40
2017-08-14 12:58:05 +12:00
parent 175fb11178
commit b07c30704a
3 changed files with 19 additions and 20 deletions
@@ -34,11 +34,6 @@ public class TrackPoint {
*/
private final double minAlpha;
/**
* The diameter to draw the track point with.
*/
private final double diameter;
/**
* Creates a new track point with fixed GPS coordinates and time, to reach minimum opacity on expiry.
@@ -53,7 +48,6 @@ public class TrackPoint {
this.expiry = expiry;
this.minAlpha = 0.1;
this.diameter = 5d;
}
@@ -97,12 +91,4 @@ public class TrackPoint {
return timeAdded;
}
/**
* Returns the diameter to draw the track point with.
* @return The diameter to draw the track point with.
*/
public double getDiameter() {
return diameter;
}
}