[map] Save points altitudes when saving route as a track (#10759)

[map] Save points altitudes when saving route as a track

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn
2025-06-24 18:19:09 +04:00
committed by Konstantin Pastbin
parent 21cc2bbf52
commit cc6958282b
8 changed files with 31 additions and 18 deletions

View File

@@ -94,9 +94,9 @@ public:
bool GetRouteAltitudesAndDistancesM(std::vector<double> & routeSegDistanceM,
geometry::Altitudes & routeAltitudesM) const;
/// \brief returns coordinates of route junctions.
/// \brief returns points of route junctions.
/// \returns true if there is valid route information. If the route is not valid returns false.
bool GetRouteJunctionPoints(std::vector<m2::PointD> & routeJunctionPoints) const;
bool GetRouteJunctionPoints(std::vector<geometry::PointWithAltitude> & routeJunctionPoints) const;
SessionState OnLocationPositionChanged(location::GpsInfo const & info);
void GetRouteFollowingInfo(FollowingInfo & info) const;