Fix #3671
This commit is contained in:
parent
7f8e640ba9
commit
cce02cc6c1
1 changed files with 4 additions and 1 deletions
|
@ -524,7 +524,10 @@ public class MapMarkersLayer extends OsmandMapLayer implements IContextMenuProvi
|
|||
MapMarkersHelper markersHelper = map.getMyApplication().getMapMarkersHelper();
|
||||
MapMarker marker = (MapMarker) o;
|
||||
|
||||
marker.getOriginalPointDescription().setName(PointDescription.getSearchAddressStr(map));
|
||||
PointDescription originalDescription = marker.getOriginalPointDescription();
|
||||
if (originalDescription.isLocation()) {
|
||||
originalDescription.setName(PointDescription.getSearchAddressStr(map));
|
||||
}
|
||||
markersHelper.moveMapMarker(marker, position);
|
||||
int index = markersHelper.getMapMarkers().indexOf(marker);
|
||||
if (index != -1) {
|
||||
|
|
Loading…
Reference in a new issue