Bugfix: set initial uturn indicators
This commit is contained in:
parent
5b30f92677
commit
2cf8309987
@ -142,6 +142,8 @@ void RouteParameters::AddSource(const double latitude, const double longitude)
|
|||||||
void RouteParameters::SetCoordinatesFromGeometry(const std::string &geometry_string)
|
void RouteParameters::SetCoordinatesFromGeometry(const std::string &geometry_string)
|
||||||
{
|
{
|
||||||
coordinates = polylineDecode(geometry_string);
|
coordinates = polylineDecode(geometry_string);
|
||||||
|
uturns.clear();
|
||||||
|
uturns.resize(coordinates.size(), uturn_default);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RouteParameters::SetX(const int x_)
|
bool RouteParameters::SetX(const int x_)
|
||||||
|
Loading…
Reference in New Issue
Block a user