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:
authorExMix <rahuba.youri@mapswithme.com>2014-05-22 16:45:18 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:15:44 +0300
commit4f5d8005c992c68ffb7d92c3a96b8c97e1819c5f (patch)
treed07f9020094d18943022bc4e9bfaea0a54d535ae /map/location_state.hpp
parent8fbe6d31e11c79a82c2bf2eddbeb07f740cae34b (diff)
[core] don't show my position heading when position error more than some constant.
Diffstat (limited to 'map/location_state.hpp')
-rw-r--r--map/location_state.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/map/location_state.hpp b/map/location_state.hpp
index bcc46dc40a..b5959a6414 100644
--- a/map/location_state.hpp
+++ b/map/location_state.hpp
@@ -61,10 +61,15 @@ namespace location
double m_drawHeading;
bool m_hasPosition;
+ double m_positionFault;
bool m_hasCompass;
+ double m_compassFault;
bool m_isCentered;
bool m_isFirstPosition;
+ bool IsPositionFaultCritical() const;
+ bool IsCompassFaultCritical() const;
+
ELocationProcessMode m_locationProcessMode;
ECompassProcessMode m_compassProcessMode;