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-07-24 15:27:39 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:57:31 +0300
commit1969ec06d9771336b5711bc4eaca4499e4f6af27 (patch)
tree97fc7092d25acd6f412ddec427dc56fd5df95038 /map/framework.hpp
parent4588f7c34d9eb1bb5e8fb72d3c96e3269ba4ac1f (diff)
PR fixes
Diffstat (limited to 'map/framework.hpp')
-rw-r--r--map/framework.hpp3
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); }