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-23 20:17:15 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:57:31 +0300
commit4588f7c34d9eb1bb5e8fb72d3c96e3269ba4ac1f (patch)
tree661a980c4d5f0172a4091b9461d51ccc3aef0283 /map/framework.hpp
parent05e7c9cb45cde4a5f377c5e086bd9528c847a9d1 (diff)
Get the best router type framework method.
Diffstat (limited to 'map/framework.hpp')
-rw-r--r--map/framework.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/map/framework.hpp b/map/framework.hpp
index 7748d3a1af..dcab8c1e55 100644
--- a/map/framework.hpp
+++ b/map/framework.hpp
@@ -569,6 +569,8 @@ public:
void CloseRouting();
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);
// @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); }