fix for issue #5 gate lines
-removed drawing of lines between the marks as only the start and finish line should have a line drawn #story[782]
This commit is contained in:
@@ -203,10 +203,12 @@ public class ResizableRaceCanvas extends ResizableCanvas {
|
||||
public void drawMarkers() {
|
||||
for(Marker marker: markers) {
|
||||
GraphCoordinate mark1 = this.map.convertGPS(marker.getMark1());
|
||||
// removed drawing of lines between the marks as only
|
||||
// the start and finish line should have a line drawn
|
||||
if(marker.isCompoundMark()) {
|
||||
GraphCoordinate mark2 = this.map.convertGPS(marker.getMark2());
|
||||
// TODO - improve colour coding of markers
|
||||
displayLine(mark1, mark2, Color.GREEN);
|
||||
displayPoint(mark1, Color.LIMEGREEN);
|
||||
displayPoint(mark2, Color.LIMEGREEN);
|
||||
} else {
|
||||
displayPoint(mark1, Color.GREEN);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user