investigate 2293 (1)
This commit is contained in:
parent
3aa42d4f0b
commit
df96865a74
1 changed files with 5 additions and 1 deletions
|
@ -99,7 +99,11 @@ public class PointDescription {
|
|||
@NonNull
|
||||
public String getSimpleName(Context ctx, boolean addTypeName) {
|
||||
if (isLocation()) {
|
||||
if (Algorithms.isEmpty(name) {
|
||||
return getLocationName(ctx, lat, lon, true).replace('\n', ' ');
|
||||
} else {
|
||||
return name;
|
||||
}
|
||||
}
|
||||
if (!Algorithms.isEmpty(typeName)) {
|
||||
if (Algorithms.isEmpty(name)) {
|
||||
|
|
Loading…
Reference in a new issue