Fix #2894
This commit is contained in:
parent
9816a5daf0
commit
809fe75d94
1 changed files with 12 additions and 0 deletions
|
@ -432,6 +432,18 @@ public class RouteProvider {
|
|||
ch.routeEndPointOffset = info.routeEndPointOffset - startI[0];
|
||||
}
|
||||
ch.setDescriptionRoute(info.getDescriptionRoutePart());
|
||||
|
||||
// Issue #2894
|
||||
if (info.getRef() != null && !"null".equals(info.getRef())) {
|
||||
ch.setRef(info.getRef());
|
||||
}
|
||||
if (info.getStreetName() != null && !"null".equals(info.getStreetName())) {
|
||||
ch.setStreetName(info.getStreetName());
|
||||
}
|
||||
if (info.getDestinationName() != null && !"null".equals(info.getDestinationName())) {
|
||||
ch.setDestinationName(info.getDestinationName());
|
||||
}
|
||||
|
||||
directions.add(ch);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue