Commit 32e5ffd8 authored by Julian Zobel's avatar Julian Zobel
Browse files

Updated GraphHopper to the current version 0.7.0.

 Minor changes in RealWorldStreetMovement to support new GraphHopper version.
parent beae4fd2
......@@ -340,7 +340,7 @@
<dependency>
<groupId>com.graphhopper</groupId>
<artifactId>graphhopper</artifactId>
<version>0.5.0</version>
<version>0.7.0</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
......
......@@ -127,7 +127,7 @@ public class RealWorldStreetsMovement extends AbstractLocalMovementStrategy {
movementPoints.put(comp, new RealWorldMovementPoints(comp.getRealPosition(), destination, pointList, 0));
}
else {
pointList = rsp.getPoints();
pointList = rsp.getBest().getPoints();
movementPoints.put(comp, new RealWorldMovementPoints(comp.getRealPosition(), destination, pointList, 0));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment