Fixes issue #62. Initial "O m" instruction won't be shown anymore.

This commit is contained in:
DennisOSRM
2012-02-08 14:58:58 +01:00
parent 0dc77b056a
commit cc91ee1c52
3 changed files with 50 additions and 61 deletions
+4
View File
@@ -94,6 +94,10 @@ unsigned DescriptionFactory::Run(const unsigned zoomLevel) {
indexOfSegmentBegin = i;
}
}
if(pathDescription[0].length == 0){
INFO("Start at End of street");
pathDescription[0].turnInstruction = 14;
}
//Generalize poly line
dp.Run(pathDescription, zoomLevel);