[routing] Make 'auto reordering of intermediate stops' optional

Signed-off-by: Gonzalo Pesquero <gpesquero@yahoo.es>
This commit is contained in:
Gonzalo Pesquero
2025-03-02 23:17:00 +01:00
committed by Konstantin Pastbin
parent 8b096035df
commit 5bb2569e76
6 changed files with 20 additions and 43 deletions

View File

@@ -226,7 +226,7 @@ public:
/// will not return previous data, only newer.
void GenerateNotifications(std::vector<std::string> & notifications, bool announceStreets);
void AddRoutePoint(RouteMarkData && markData);
void AddRoutePoint(RouteMarkData && markData, bool reorderIntermediatePoints = true);
void ContinueRouteToPoint(RouteMarkData && markData);
std::vector<RouteMarkData> GetRoutePoints() const;
size_t GetRoutePointsCount() const;