Fix transport route geometry

This commit is contained in:
Victor Shcherb 2018-08-05 23:44:10 +03:00
parent ea4fcc9d79
commit bb168f8b45

View file

@ -91,7 +91,7 @@ public class TransportRoute extends MapObject {
} }
if (forwardStops.size() > 0) { if (forwardStops.size() > 0) {
// resort ways to stops order // resort ways to stops order
Map<Way, int[]> orderWays = new HashMap<Way, int[]>(); final Map<Way, int[]> orderWays = new HashMap<Way, int[]>();
for (Way w : forwardWays) { for (Way w : forwardWays) {
int[] pair = new int[] { 0, 0 }; int[] pair = new int[] { 0, 0 };
Node firstNode = w.getFirstNode(); Node firstNode = w.getFirstNode();