mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
bug 4543: made advantage line show in orange
Change-Id: Iaaf4c7f1f8a21a9e9f8c0ff7e70665a36cb24c1d
This commit is contained in:
1 parent
52bd87a46c
commit
1886aecbf8
2 files changed
+5
-2
No files matched your search
+1
@@ -12,6 +12,7 @@
|
||||
During replay of finished races, clicking a maneuver will skip to the beginning of the maneuver.
|
||||
In case of a live race, the maneuver table will progressively fill with more data, as it becomes available.
|
||||
</li>
|
||||
<li>The size of the start count down shown near the start line on the map can now be adjusted in the map settings.</li>
|
||||
</ul>
|
||||
|
||||
<h5 class="articleSubheadline">March 2018</h5>
|
||||
|
||||
+4
-2
@@ -162,6 +162,8 @@ import com.sap.sse.gwt.client.shared.settings.ComponentContext;
|
||||
|
||||
public class RaceMap extends AbstractCompositeComponent<RaceMapSettings> implements TimeListener, CompetitorSelectionChangeListener,
|
||||
RaceTimesInfoProviderListener, TailFactory, RequiresDataInitialization, RequiresResize, QuickRankProvider {
|
||||
private static final String ADVANTAGE_LINE_COLOR = "#ff9900"; // orange
|
||||
private static final String FINISH_LINE_COLOR = "#000000";
|
||||
private static final Color LOWLIGHTED_TAIL_COLOR = new RGBColor(200, 200, 200);
|
||||
public static final String GET_RACE_MAP_DATA_CATEGORY = "getRaceMapData";
|
||||
public static final String GET_WIND_DATA_CATEGORY = "getWindData";
|
||||
@@ -1544,7 +1546,7 @@ public class RaceMap extends AbstractCompositeComponent<RaceMapSettings> impleme
|
||||
PolylineOptions options = PolylineOptions.newInstance();
|
||||
options.setClickable(true);
|
||||
options.setGeodesic(true);
|
||||
options.setStrokeColor("#000000");
|
||||
options.setStrokeColor(ADVANTAGE_LINE_COLOR);
|
||||
options.setStrokeWeight(1);
|
||||
options.setStrokeOpacity(0.5);
|
||||
|
||||
@@ -1700,7 +1702,7 @@ public class RaceMap extends AbstractCompositeComponent<RaceMapSettings> impleme
|
||||
finishLineAdvantageText.delete(0, finishLineAdvantageText.length());
|
||||
}
|
||||
finishLine = showOrRemoveOrUpdateLine(finishLine, reallyShowFinishLine,
|
||||
finishLineLeftPosition, finishLineRightPosition, finishLineInfoProvider, "#000000");
|
||||
finishLineLeftPosition, finishLineRightPosition, finishLineInfoProvider, FINISH_LINE_COLOR);
|
||||
// the control point pairs for which we already decided whether or not
|
||||
// to show a course middle line for; values tell whether to show the line and for which zero-based
|
||||
// start waypoint index to do so; when for an equal control point pair multiple decisions with different
|
||||
|
||||
Reference in new issue
Block a user