diff options
author | Maxim Pimenov <m@maps.me> | 2017-05-04 13:43:45 +0300 |
---|---|---|
committer | Добрый Ээх <dobriy-eeh@users.noreply.github.com> | 2017-05-04 17:17:52 +0300 |
commit | 9cc17fbc03f9aa249c8d6f3f0661b2c4afd2ee56 (patch) | |
tree | 88c4d7b93a3c2c91f2a26fe227ba5acfb759dc5e /map/framework.hpp | |
parent | 32cff0a2949a28d5e23289699a6bbab3c0376f30 (diff) |
[routing] Removed spontaneous setting of the pedestrian router.beta-791
Diffstat (limited to 'map/framework.hpp')
-rw-r--r-- | map/framework.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map/framework.hpp b/map/framework.hpp index efa73794a6..72ab924b8d 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -774,10 +774,10 @@ public: void CloseRouting(); void GetRouteFollowingInfo(location::FollowingInfo & info) const { m_routingSession.GetRouteFollowingInfo(info); } m2::PointD GetRouteEndPoint() const { return m_routingSession.GetEndPoint(); } + /// Returns the most situable router engine type. + routing::RouterType GetBestRouter(m2::PointD const & startPoint, m2::PointD const & finalPoint) const; routing::RouterType GetLastUsedRouter() const; void SetLastUsedRouter(routing::RouterType type); - /// Returns the most situable router engine type. Bases on distance and the last used router. - routing::RouterType GetBestRouter(m2::PointD const & startPoint, m2::PointD const & finalPoint); // Sound notifications for turn instructions. inline void EnableTurnNotifications(bool enable) { m_routingSession.EnableTurnNotifications(enable); } inline bool AreTurnNotificationsEnabled() const { return m_routingSession.AreTurnNotificationsEnabled(); } |