Add address search after moving marker

This commit is contained in:
Alex 2017-09-22 11:50:34 +03:00
parent b76bdc515d
commit 3dd6f2ef02

View file

@ -723,7 +723,7 @@ public class MapMarkersHelper {
}
}
public void moveMapMarker(@Nullable MapMarker marker, LatLon latLon) {
public void moveMapMarker(MapMarker marker, LatLon latLon) {
if (marker != null) {
LatLon point = new LatLon(latLon.getLatitude(), latLon.getLongitude());
int index = mapMarkers.indexOf(marker);
@ -734,6 +734,7 @@ public class MapMarkersHelper {
markersDbHelper.updateMarker(marker);
checkAndFixActiveMarkersOrderIfNeeded();
refresh();
lookupAddress(marker);
}
}