Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-08-19 19:36:39 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:01:54 +0300
commit60952b43503ec79bb5e51e9a7cae8151bd84a162 (patch)
tree07c1502881090c0756d41f75f170776f5ebd4962 /platform/location.hpp
parent5d57c4908a045bdf62d43808afdc0d1f512097df (diff)
[routing] Route completion parameter for FollowingInfo.
Diffstat (limited to 'platform/location.hpp')
-rw-r--r--platform/location.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/location.hpp b/platform/location.hpp
index 4d3f8fa047..49a19df5fa 100644
--- a/platform/location.hpp
+++ b/platform/location.hpp
@@ -100,6 +100,7 @@ namespace location
: m_turn(routing::turns::TurnDirection::NoTurn),
m_exitNum(0),
m_time(0),
+ m_completionPercent(0),
m_pedestrianTurn(routing::turns::PedestrianDirection::None),
m_pedestrianDirectionPos(0., 0.)
{
@@ -148,6 +149,9 @@ namespace location
// The next street name.
string m_targetName;
+ // Percentage of the route completion.
+ double m_completionPercent;
+
/// @name Pedestrian direction information
//@{
routing::turns::PedestrianDirection m_pedestrianTurn;