This commit is contained in:
sonora 2016-02-28 01:01:36 +01:00
parent e475b20444
commit 3ac48b0e4a

View file

@ -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();