syncronize geometry and steps after post-processing

This commit is contained in:
Moritz Kobitzsch
2016-03-23 10:41:28 +01:00
committed by Patrick Niklaus
parent 2472c5d6a1
commit 51a4cf5e46
5 changed files with 41 additions and 9 deletions
+1
View File
@@ -127,6 +127,7 @@ class RouteAPI : public BaseAPI
*/
leg.steps = guidance::postProcess(std::move(steps));
leg_geometry = guidance::resyncGeometry(std::move(leg_geometry),leg.steps);
}
leg_geometries.push_back(std::move(leg_geometry));