diff --git a/map/framework.cpp b/map/framework.cpp index 1ab0a59053..4a059458c6 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -2206,6 +2206,11 @@ void Framework::SetRouterImpl(RouterType type) router = CreatePedestrianAStarBidirectionalRouter(m_model.GetIndex(), countryFileGetter); m_routingSession.SetRoutingSettings(routing::GetPedestrianRoutingSettings()); } + else if (type == RouterType::Bicycle) + { + router = CreateBicycleAStarBidirectionalRouter(m_model.GetIndex(), countryFileGetter); + m_routingSession.SetRoutingSettings(routing::GetBicycleRoutingSettings()); + } else { auto localFileChecker = [this](string const & countryFile) -> bool