java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingServiceAsync.java
... ...
@@ -222,7 +222,7 @@ public interface SailingServiceAsync extends RemoteReplicationServiceAsync {
222 222
void getRacesOfSwissTimingEvent(String eventJsonUrl, AsyncCallback<SwissTimingEventRecordDTO> asyncCallback);
223 223
224 224
void getDouglasPoints(RegattaAndRaceIdentifier raceIdentifier, Map<CompetitorDTO, TimeRange> competitorTimeRanges,
225
- double meters, AsyncCallback<Map<CompetitorDTO, List<GPSFixDTOWithSpeedWindTackAndLegType>>> callback);
225
+ AsyncCallback<Map<CompetitorDTO, List<GPSFixDTOWithSpeedWindTackAndLegType>>> callback);
226 226
227 227
void getManeuvers(RegattaAndRaceIdentifier raceIdentifier, Map<CompetitorDTO, TimeRange> competitorTimeRanges,
228 228
AsyncCallback<Map<CompetitorDTO, List<ManeuverDTO>>> callback);
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/racemap/RaceMap.java
... ...
@@ -2874,26 +2874,25 @@ public class RaceMap extends AbstractCompositeComponent<RaceMapSettings> impleme
2874 2874
final TimePoint to = new MillisecondsTimePoint(getBoatFix(competitorDTO, timer.getTime()).timepoint);
2875 2875
timeRange.put(competitorDTO, new TimeRangeImpl(from, to, true));
2876 2876
if (settings.isShowDouglasPeuckerPoints()) {
2877
- sailingService.getDouglasPoints(race, timeRange, 3,
2878
- new AsyncCallback<Map<CompetitorDTO, List<GPSFixDTOWithSpeedWindTackAndLegType>>>() {
2879
- @Override
2880
- public void onFailure(Throwable caught) {
2881
- errorReporter.reportError("Error obtaining douglas positions: " + caught.getMessage(), true /*silentMode */);
2882
- }
2883
-
2884
- @Override
2885
- public void onSuccess(Map<CompetitorDTO, List<GPSFixDTOWithSpeedWindTackAndLegType>> result) {
2886
- lastDouglasPeuckerResult = result;
2887
- if (douglasMarkers != null) {
2888
- removeAllMarkDouglasPeuckerpoints();
2889
- }
2890
- if (!(timer.getPlayState() == PlayStates.Playing)) {
2891
- if (settings.isShowDouglasPeuckerPoints()) {
2892
- showMarkDouglasPeuckerPoints(result);
2893
- }
2894
- }
2877
+ sailingService.getDouglasPoints(race, timeRange, new AsyncCallback<Map<CompetitorDTO, List<GPSFixDTOWithSpeedWindTackAndLegType>>>() {
2878
+ @Override
2879
+ public void onFailure(Throwable caught) {
2880
+ errorReporter.reportError("Error obtaining douglas positions: " + caught.getMessage(), true /*silentMode */);
2881
+ }
2882
+
2883
+ @Override
2884
+ public void onSuccess(Map<CompetitorDTO, List<GPSFixDTOWithSpeedWindTackAndLegType>> result) {
2885
+ lastDouglasPeuckerResult = result;
2886
+ if (douglasMarkers != null) {
2887
+ removeAllMarkDouglasPeuckerpoints();
2888
+ }
2889
+ if (!(timer.getPlayState() == PlayStates.Playing)) {
2890
+ if (settings.isShowDouglasPeuckerPoints()) {
2891
+ showMarkDouglasPeuckerPoints(result);
2895 2892
}
2896
- });
2893
+ }
2894
+ }
2895
+ });
2897 2896
}
2898 2897
maneuverMarkersAndLossIndicators.getAndShowManeuvers(race, timeRange);
2899 2898
}