add locations feature to allow testing turn locations, fix minor bug breaking the arrival location

This commit is contained in:
Moritz Kobitzsch
2016-11-08 12:52:15 +01:00
parent 1e0ec0ab8f
commit 46922646c2
8 changed files with 69 additions and 8 deletions
+1
View File
@@ -23,6 +23,7 @@ inline void print(const engine::guidance::RouteStep &step)
std::cout << static_cast<int>(step.maneuver.instruction.type) << " "
<< static_cast<int>(step.maneuver.instruction.direction_modifier) << " "
<< static_cast<int>(step.maneuver.waypoint_type) << " "
<< step.maneuver.location << " "
<< " Duration: " << step.duration << " Distance: " << step.distance
<< " Geometry: " << step.geometry_begin << " " << step.geometry_end
<< "\n\tIntersections: " << step.intersections.size() << " [";