diff --git a/map/routing_manager.cpp b/map/routing_manager.cpp index 23b88f8b32..ae436bbec3 100644 --- a/map/routing_manager.cpp +++ b/map/routing_manager.cpp @@ -674,6 +674,10 @@ void RoutingManager::SetRouter(RouterType type) if (m_currentRouterType == type) return; + // Hide preview. + if (m_drapeEngine != nullptr) + m_drapeEngine->RemoveAllRoutePreviewSegments(); + SetLastUsedRouter(type); SetRouterImpl(type); }