Add simplification reset that was accidentally removed
This commit is contained in:
parent
de29574314
commit
fe0fe1873a
@ -211,9 +211,14 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
|
||||
raw_route.is_via_leg(i));
|
||||
}
|
||||
|
||||
// we run this to get the instructions
|
||||
factory.Run(route_parameters.zoom_level);
|
||||
|
||||
// we need because we don't run path simplification
|
||||
for (auto &segment : factory.path_description)
|
||||
{
|
||||
segment.necessary = true;
|
||||
}
|
||||
|
||||
if (route_parameters.geometry)
|
||||
{
|
||||
subtrace.values["geometry"] = factory.AppendGeometryString(route_parameters.compression);
|
||||
|
Loading…
Reference in New Issue
Block a user