fix #2286
This commit is contained in:
parent
e475b20444
commit
3ac48b0e4a
1 changed files with 5 additions and 0 deletions
|
@ -255,6 +255,11 @@ public class MapMarkersHelper {
|
|||
|
||||
public void removeActiveMarkers() {
|
||||
cancelAddressRequests();
|
||||
List<MapMarker> markers = new ArrayList<>(mapMarkers.size());
|
||||
for (int i = 0, i<= mapMarkers.size() - 1; i++) {
|
||||
MapMarker marker = mapMarkers.get(i);
|
||||
addMapMarkerHistory(marker);
|
||||
}
|
||||
settings.clearActiveMapMarkers();
|
||||
readFromSettings();
|
||||
refresh();
|
||||
|
|
Loading…
Reference in a new issue