diff --git a/indexer/scales.hpp b/indexer/scales.hpp index 6b6e656836..ad182af475 100644 --- a/indexer/scales.hpp +++ b/indexer/scales.hpp @@ -16,6 +16,8 @@ namespace scales inline int GetUpperWorldScale() { return 9; } /// Upper scale for user comfort view (e.g. location zoom). inline int GetUpperComfortScale() { return UPPER_STYLE_SCALE - 2; } + /// Default navigation mode scale + inline int GetNavigationScale() { return UPPER_STYLE_SCALE - 4; } double GetScaleLevelD(double ratio); double GetScaleLevelD(m2::RectD const & r); diff --git a/map/location_state.cpp b/map/location_state.cpp index dfe8186d5d..b50e49e259 100644 --- a/map/location_state.cpp +++ b/map/location_state.cpp @@ -366,7 +366,7 @@ void State::StartRouteFollow() m2::PointD const size(m_errorRadius, m_errorRadius); m_framework->ShowRectExVisibleScale(m2::RectD(m_position - size, m_position + size), - scales::GetUpperComfortScale()); + scales::GetNavigationScale()); SetModeInfo(ChangeMode(m_modeInfo, NotFollow)); SetModeInfo(ChangeMode(m_modeInfo, IsRotationActive() ? RotateAndFollow : Follow));