Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
664fffa2e8
1 changed files with 5 additions and 0 deletions
|
@ -255,6 +255,11 @@ public class MapMarkersHelper {
|
||||||
|
|
||||||
public void removeActiveMarkers() {
|
public void removeActiveMarkers() {
|
||||||
cancelAddressRequests();
|
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();
|
settings.clearActiveMapMarkers();
|
||||||
readFromSettings();
|
readFromSettings();
|
||||||
refresh();
|
refresh();
|
||||||
|
|
Loading…
Reference in a new issue