diff --git a/OsmAnd/src/net/osmand/data/PointDescription.java b/OsmAnd/src/net/osmand/data/PointDescription.java index a0c05bd6ee..f18bb237a3 100644 --- a/OsmAnd/src/net/osmand/data/PointDescription.java +++ b/OsmAnd/src/net/osmand/data/PointDescription.java @@ -99,7 +99,11 @@ public class PointDescription { @NonNull public String getSimpleName(Context ctx, boolean addTypeName) { if (isLocation()) { - return getLocationName(ctx, lat, lon, true).replace('\n', ' '); + if (Algorithms.isEmpty(name) { + return getLocationName(ctx, lat, lon, true).replace('\n', ' '); + } else { + return name; + } } if (!Algorithms.isEmpty(typeName)) { if (Algorithms.isEmpty(name)) {