mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
[routing] Add possibility to save routes as tracks
Signed-off-by: cyber-toad <the.cyber.toad@proton.me>
This commit is contained in:
committed by
Konstantin Pastbin
parent
9e8accc8f5
commit
45bba5fb5e
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user