Add check for string is not address not found
This commit is contained in:
parent
2877f89d0e
commit
343ca3ee11
1 changed files with 1 additions and 1 deletions
|
@ -881,7 +881,7 @@ public class MapContextMenu extends MenuTitleController implements StateChangedL
|
||||||
}
|
}
|
||||||
|
|
||||||
public PointDescription getPointDescriptionForMarker() {
|
public PointDescription getPointDescriptionForMarker() {
|
||||||
if (Algorithms.isEmpty(pointDescription.getName())) {
|
if (Algorithms.isEmpty(pointDescription.getName()) && !nameStr.equals(PointDescription.getAddressNotFoundStr(mapActivity))) {
|
||||||
return new PointDescription(PointDescription.POINT_TYPE_MAP_MARKER, nameStr);
|
return new PointDescription(PointDescription.POINT_TYPE_MAP_MARKER, nameStr);
|
||||||
} else {
|
} else {
|
||||||
return getPointDescriptionForTarget();
|
return getPointDescriptionForTarget();
|
||||||
|
|
Loading…
Reference in a new issue