check empty name string in turn collapsing

This commit is contained in:
karenzshea
2017-11-28 13:09:32 +01:00
committed by Patrick Niklaus
parent 24562acd30
commit 3f7b5da683
5 changed files with 39 additions and 16 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ class RouteAPI : public BaseAPI
guidance::trimShortSegments(steps, leg_geometry);
leg.steps = guidance::handleRoundabouts(std::move(steps));
leg.steps = guidance::collapseTurnInstructions(std::move(leg.steps));
leg.steps = guidance::collapseTurnInstructions(std::move(leg.steps), facade);
leg.steps = guidance::anticipateLaneChange(std::move(leg.steps));
leg.steps = guidance::buildIntersections(std::move(leg.steps));
leg.steps = guidance::suppressShortNameSegments(std::move(leg.steps));