Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@mapswithme.com>2014-11-26 04:33:34 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:35:42 +0300
commitdee1fe5294b910f2298889e5fea84b965eeb522f (patch)
tree2a1a2cc17ee574c4cfac2f3388aedf9e612317c8 /indexer/scales.hpp
parentf16fefdfeefeb2975191c7f393909d2b8540905c (diff)
Changed default navigation zoom level to 15 for more comfortable car usage
Diffstat (limited to 'indexer/scales.hpp')
-rw-r--r--indexer/scales.hpp2
1 files changed, 2 insertions, 0 deletions
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);