[routing] Add possibility to save routes as tracks

Signed-off-by: cyber-toad <the.cyber.toad@proton.me>
This commit is contained in:
cyber-toad
2025-03-11 10:13:57 +01:00
committed by Konstantin Pastbin
parent 9e8accc8f5
commit 45bba5fb5e
16 changed files with 165 additions and 18 deletions

View File

@@ -142,6 +142,7 @@ public:
// This method was added because we do not want to break the behaviour that is familiar to our
// users.
bool DisableFollowMode();
void SaveRoute();
void SetRouteBuildingListener(RouteBuildingCallback const & buildingCallback)
{
@@ -204,7 +205,7 @@ public:
return m_routingSession.GetTurnNotificationsLocale();
}
// @return polyline of the route.
routing::FollowedPolyline const & GetRoutePolylineForTests() const
routing::FollowedPolyline const & GetRoutePolyline() const
{
return m_routingSession.GetRouteForTests()->GetFollowedPolyline();
}