From 9afed0966b00632c001545f4a9595a09351187de Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 27 Oct 2017 15:36:42 +0200 Subject: [PATCH] some work on STOP direction --- .../net/osmand/binary/RouteDataObject.java | 24 ++++++++++++------- .../osmand/plus/helpers/WaypointHelper.java | 8 +++---- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java b/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java index 0c8ec712e6..5877801862 100644 --- a/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java +++ b/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java @@ -685,21 +685,27 @@ public class RouteDataObject { return direction; } - public boolean isStopDirectionOpposite(boolean direction) { - for(int i=0; i