This commit is contained in:
sonora 2016-08-03 17:07:50 +02:00
parent 9816a5daf0
commit 809fe75d94

View file

@ -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);
}
}