mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-03 10:53:49 +00:00
avoid NPE
This commit is contained in:
1 parent
9179973d80
commit
c25644d052
1 file changed
+5
-3
+5
-3
@@ -1002,10 +1002,12 @@ public class RaceMapPanel extends FormPanel implements EventDisplayer, TimeListe
|
||||
}
|
||||
|
||||
private void removeAllManeuverMarkers() {
|
||||
for (Marker marker : maneuverMarkers) {
|
||||
map.removeOverlay(marker);
|
||||
if (maneuverMarkers != null) {
|
||||
for (Marker marker : maneuverMarkers) {
|
||||
map.removeOverlay(marker);
|
||||
}
|
||||
maneuverMarkers = null;
|
||||
}
|
||||
maneuverMarkers = null;
|
||||
}
|
||||
|
||||
/* TODO see Bug #6, use checkboxes to select what to visualize
|
||||
|
||||
Reference in new issue
Block a user