From 66142e20cc56e155932d14c1f1690bf812a1c118 Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Wed, 6 Jan 2016 14:36:19 +0300 Subject: [PATCH] Changed default navigation zoom --- indexer/scales.hpp | 6 +++--- map/framework.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/indexer/scales.hpp b/indexer/scales.hpp index 8a93878779..2c3398ccc1 100644 --- a/indexer/scales.hpp +++ b/indexer/scales.hpp @@ -17,11 +17,11 @@ namespace scales /// 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; } + inline int GetNavigationScale() { return UPPER_STYLE_SCALE - 3; } /// Default pedestrian navigation mode scale - inline int GetPedestrianNavigationScale() { return UPPER_STYLE_SCALE - 1; } + inline int GetPedestrianNavigationScale() { return UPPER_STYLE_SCALE - 2; } /// Default navigation 3d mode scale - inline int GetNavigation3dScale() { return UPPER_STYLE_SCALE - 3; } + inline int GetNavigation3dScale() { return UPPER_STYLE_SCALE - 2; } /// Default pedestrian navigation 3d mode scale inline int GetPedestrianNavigation3dScale() { return UPPER_STYLE_SCALE - 2; } diff --git a/map/framework.cpp b/map/framework.cpp index 8afa04b35f..caf62fc40c 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1864,7 +1864,7 @@ void Framework::FollowRoute() { ASSERT(m_drapeEngine != nullptr, ()); - int const scale = (m_currentRouterType == RouterType::Pedestrian) ? scales::GetUpperComfortScale() + int const scale = (m_currentRouterType == RouterType::Pedestrian) ? scales::GetPedestrianNavigationScale() : scales::GetNavigationScale(); int const scale3d = (m_currentRouterType == RouterType::Pedestrian) ? scales::GetPedestrianNavigation3dScale() : scales::GetNavigation3dScale();