forked from organicmaps/organicmaps
[routing] Disable cross mwm index router
This commit is contained in:
parent
3ffe816219
commit
316268660e
1 changed files with 3 additions and 2 deletions
|
@ -401,8 +401,9 @@ CarRouter::ResultCode CarRouter::CalculateRoute(m2::PointD const & startPoint,
|
|||
m2::PointD const & finalPoint,
|
||||
RouterDelegate const & delegate, Route & route)
|
||||
{
|
||||
if (AllMwmsHaveRoutingIndex())
|
||||
return m_router->CalculateRoute(startPoint, startDirection, finalPoint, delegate, route);
|
||||
// TODO uncomment this to activate cross mwm index router.
|
||||
// if (AllMwmsHaveRoutingIndex())
|
||||
// return m_router->CalculateRoute(startPoint, startDirection, finalPoint, delegate, route);
|
||||
|
||||
my::HighResTimer timer(true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue