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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2018-01-25 17:42:40 +0300
committermpimenov <mpimenov@users.noreply.github.com>2018-02-19 20:26:27 +0300
commitb7b60eef4d4ebc335cbfadd7f8bd168665cf523a (patch)
tree4584e81690c19c3af69e32dc67e354f7e118f803 /routing
parentef05370786768f2eb2f114401637295476200617 (diff)
Switching off pedestrian and bicycle geometry based routing.
Diffstat (limited to 'routing')
-rw-r--r--routing/index_router.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/routing/index_router.cpp b/routing/index_router.cpp
index 76bbf9d931..040ac39e35 100644
--- a/routing/index_router.cpp
+++ b/routing/index_router.cpp
@@ -329,19 +329,6 @@ IRouter::ResultCode IndexRouter::CalculateRoute(Checkpoints const & checkpoints,
if (!outdatedMwms.empty())
{
- // Backward compatibility with outdated mwm versions.
- if (m_vehicleType == VehicleType::Pedestrian)
- {
- return CreatePedestrianAStarBidirectionalRouter(m_index, m_countryFileFn, m_numMwmIds)
- ->CalculateRoute(checkpoints, startDirection, adjustToPrevRoute, delegate, route);
- }
-
- if (m_vehicleType == VehicleType::Bicycle)
- {
- return CreateBicycleAStarBidirectionalRouter(m_index, m_countryFileFn, m_numMwmIds)
- ->CalculateRoute(checkpoints, startDirection, adjustToPrevRoute, delegate, route);
- }
-
for (string const & mwm : outdatedMwms)
route.AddAbsentCountry(mwm);