diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp index 9bb8b7e673..90af8f7c4e 100644 --- a/qt/draw_widget.cpp +++ b/qt/draw_widget.cpp @@ -529,9 +529,18 @@ void DrawWidget::SubmitFakeLocationPoint(m2::PointD const & pt) { routing::FollowingInfo loc; m_framework.GetRoutingManager().GetRouteFollowingInfo(loc); - LOG(LDEBUG, ("Distance:", loc.m_distToTarget, loc.m_targetUnitsSuffix, "Time:", loc.m_time, - "Turn:", routing::turns::GetTurnString(loc.m_turn), "(", loc.m_distToTurn, loc.m_turnUnitsSuffix, - ") Roundabout exit number:", loc.m_exitNum)); + if (m_framework.GetRoutingManager().GetCurrentRouterType() == routing::RouterType::Pedestrian) + { + LOG(LDEBUG, ("Distance:", loc.m_distToTarget, loc.m_targetUnitsSuffix, "Time:", loc.m_time, + "Pedestrian turn:", DebugPrint(loc.m_pedestrianTurn), + "Distance to turn:", loc.m_distToTurn, loc.m_turnUnitsSuffix)); + } + else + { + LOG(LDEBUG, ("Distance:", loc.m_distToTarget, loc.m_targetUnitsSuffix, "Time:", loc.m_time, + "Turn:", routing::turns::GetTurnString(loc.m_turn), "(", loc.m_distToTurn, + loc.m_turnUnitsSuffix, ") Roundabout exit number:", loc.m_exitNum)); + } } }