diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-07-24 15:27:39 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:31 +0300 |
commit | 1969ec06d9771336b5711bc4eaca4499e4f6af27 (patch) | |
tree | 97fc7092d25acd6f412ddec427dc56fd5df95038 /map/framework.hpp | |
parent | 4588f7c34d9eb1bb5e8fb72d3c96e3269ba4ac1f (diff) |
PR fixes
Diffstat (limited to 'map/framework.hpp')
-rw-r--r-- | map/framework.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/map/framework.hpp b/map/framework.hpp index dcab8c1e55..617c4b3366 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -570,7 +570,8 @@ public: void GetRouteFollowingInfo(location::FollowingInfo & info) { m_routingSession.GetRouteFollowingInfo(info); } m2::PointD GetRouteEndPoint() const { return m_routingSession.GetEndPoint(); } void SetLastUsedRouter(routing::RouterType type); - routing::RouterType GetBestRouterType(m2::PointD const & startPoint, m2::PointD const & finalPoint); + /// 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) const; // @TODO The three methods below has to be called from jni. // Sound notifications for turn instructions. inline void EnableTurnNotifications(bool enable) { m_routingSession.EnableTurnNotifications(enable); } |