diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-03-29 04:57:21 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:14:29 +0300 |
commit | 49c76e2a4d5bbaaf94ae9add6f550117fe7fa0c5 (patch) | |
tree | 95feb4af83bbad9d39e31aa0ce1c74b435b4f8de /map/information_display.hpp | |
parent | 7559dd7e54596a23d93be0fddf1c3d362e681a49 (diff) |
refactored Location services.
Diffstat (limited to 'map/information_display.hpp')
-rw-r--r-- | map/information_display.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/map/information_display.hpp b/map/information_display.hpp index 9796381d9f..d328e80192 100644 --- a/map/information_display.hpp +++ b/map/information_display.hpp @@ -1,6 +1,7 @@ #pragma once #include "window_handle.hpp" +#include "locator.hpp" #include "../geometry/point2d.hpp" #include "../geometry/rect2d.hpp" #include "../geometry/screenbase.hpp" @@ -27,6 +28,7 @@ private: double m_headingAccuracy; bool m_isPositionEnabled; + Locator::EMode m_mode; m2::PointD m_position; double m_errorRadius; @@ -85,6 +87,7 @@ public: void enablePosition(bool doEnable); void setPosition(m2::PointD const & mercatorPos, double errorRadius); + void setLocatorMode(Locator::EMode mode); m2::PointD const & position() const; double errorRadius() const; void drawPosition(DrawerYG * pDrawer); |