Add address search after moving marker
This commit is contained in:
parent
b76bdc515d
commit
3dd6f2ef02
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
if (marker != null) {
|
||||||
LatLon point = new LatLon(latLon.getLatitude(), latLon.getLongitude());
|
LatLon point = new LatLon(latLon.getLatitude(), latLon.getLongitude());
|
||||||
int index = mapMarkers.indexOf(marker);
|
int index = mapMarkers.indexOf(marker);
|
||||||
|
@ -734,6 +734,7 @@ public class MapMarkersHelper {
|
||||||
markersDbHelper.updateMarker(marker);
|
markersDbHelper.updateMarker(marker);
|
||||||
checkAndFixActiveMarkersOrderIfNeeded();
|
checkAndFixActiveMarkersOrderIfNeeded();
|
||||||
refresh();
|
refresh();
|
||||||
|
lookupAddress(marker);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue