From 30fe9c86983c46593d4610c9a90623e0cfecec7a Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 16 May 2020 22:41:21 +0200 Subject: [PATCH] Add more info --- .../main/java/net/osmand/router/TransportRoutePlanner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/router/TransportRoutePlanner.java b/OsmAnd-java/src/main/java/net/osmand/router/TransportRoutePlanner.java index c401f58319..6448cd67a1 100644 --- a/OsmAnd-java/src/main/java/net/osmand/router/TransportRoutePlanner.java +++ b/OsmAnd-java/src/main/java/net/osmand/router/TransportRoutePlanner.java @@ -609,8 +609,8 @@ public class TransportRoutePlanner { if(aTime != -1) { arriveTime = String.format("and arrive at %s", formatTransporTime(aTime)); } - bld.append(String.format(" %d. %s: walk %.1f m to '%s' and travel %s to '%s' by %s %d stops %s\n", - i + 1, s.route.getRef(), s.walkDist, s.getStart().getName(), + bld.append(String.format(" %d. %s [%d]: walk %.1f m to '%s' and travel %s to '%s' by %s %d stops %s\n", + i + 1, s.route.getRef(), s.route.getId() / 2, s.walkDist, s.getStart().getName(), time, s.getEnd().getName(),s.route.getName(), (s.end - s.start), arriveTime)); } bld.append(String.format(" F. Walk %.1f m to reach your destination", finishWalkDist));