mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-01 10:33:45 +00:00
[routing] Remove passed intermediate points when assembling a modified route mid-navigation
Fixes OM #9592 Signed-off-by: Michał Brzozowski <www.haxor@gmail.com> # Conflicts: # libs/map/routing_manager.cpp
This commit is contained in:
committed by
David Gekeler
parent
697e871c1b
commit
57ecf3848b
@@ -97,7 +97,7 @@ public:
|
||||
size_t destIntermediateIndex);
|
||||
void PassRoutePoint(RouteMarkType type, size_t intermediateIndex = 0);
|
||||
void SetFollowingMode(bool enabled);
|
||||
|
||||
void RemovePassedPoints();
|
||||
private:
|
||||
using TRoutePointCallback = std::function<void(RouteMarkPoint * mark)>;
|
||||
void ForEachIntermediatePoint(TRoutePointCallback const & fn);
|
||||
|
||||
Reference in New Issue
Block a user