Revert "Revert "Bring general sketch commits upstream""

This commit is contained in:
Patrick Niklaus
2014-10-29 00:33:43 +01:00
parent c791188811
commit 3fe2b587cb
7 changed files with 278 additions and 216 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ class DescriptionFactory
}
// Generalize poly line
polyline_generalizer.Run(path_description, zoomLevel);
polyline_generalizer.Run(path_description.begin(), path_description.end(), zoomLevel);
// fix what needs to be fixed else
unsigned necessary_pieces = 0; // a running index that counts the necessary pieces