mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-15 06:49:56 +00:00
Merge remote-tracking branch 'server/master'
Change-Id: I9e2ee381ede5785b050f6985a79a9afd65a3520b
This commit is contained in:
commit
2deac46f04
3 files changed
+6
No files matched your search
+1
@@ -165,6 +165,7 @@ public class ManeuverMarkersAndLossIndicators {
|
||||
Marker marker = Marker.newInstance(options);
|
||||
marker.setPosition(latLng);
|
||||
marker.setTitle(ManeuverTypeFormatter.format(maneuver.getType(), stringMessages));
|
||||
marker.setZindex(RaceMapOverlaysZIndexes.MANEUVERMARK_ZINDEX);
|
||||
marker.addClickHandler(event -> {
|
||||
LatLng where = raceMap.getCoordinateSystem().toLatLng(maneuver.getPosition());
|
||||
Widget content = getInfoWindowContent(maneuver, competitor);
|
||||
|
||||
+1
@@ -14,6 +14,7 @@ public interface RaceMapOverlaysZIndexes {
|
||||
public static int WINDSENSOR_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 3;
|
||||
public static int BOATS_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 4;
|
||||
public static int INFO_OVERLAY_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 5;
|
||||
public static int MANEUVERMARK_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 6;
|
||||
|
||||
/** the z-index of the info window should always be higher than the rest */
|
||||
public static int INFO_WINDOW_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 11;
|
||||
|
||||
@@ -28,6 +28,10 @@
|
||||
or a finishing time can be provided which will then let the handicap ranking
|
||||
metric infer the correct rank from that.
|
||||
</li>
|
||||
<li>Maneuver markers that appear when clicking on a boat while the RaceBoard is paused
|
||||
were sometimes hard to click because they disappeared behind the boat's tail.
|
||||
This behavior is now fixed.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="articleSubheadline">April 2019</h2>
|
||||
|
||||
Reference in new issue
Block a user