forked from organicmaps/organicmaps
Changed default navigation zoom level to 15 for more comfortable car usage
This commit is contained in:
parent
f16fefdfee
commit
dee1fe5294
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue