Merge pull request #2093 from arnekaiser/develop
Bugfix: set initial uturn indicators
This commit is contained in:
		
						commit
						0446847278
					
				@ -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