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:
authorConstantin Shalnev <c.shalnev@corp.mail.ru>2015-09-11 12:41:49 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:04:22 +0300
commitae5d557becae217f3c1ef35116928d9785d69be7 (patch)
treeb09783468f798609da81dbfbdde0879d187196a5 /indexer/scales.hpp
parentaef75ebb1df691823a585dfd8172157cd5ddf8a4 (diff)
Start navigation from 18 zoom level
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 9fdebd8740..d9bd82a0b7 100644
--- a/indexer/scales.hpp
+++ b/indexer/scales.hpp
@@ -18,6 +18,8 @@ namespace scales
inline int GetUpperComfortScale() { return UPPER_STYLE_SCALE - 2; }
/// Default navigation mode scale
inline int GetNavigationScale() { return UPPER_STYLE_SCALE - 4; }
+ /// Default pedestrian navigation mode scale
+ inline int GetPedestrianNavigationScale() { return UPPER_STYLE_SCALE - 1; }
double GetScaleLevelD(double ratio);
double GetScaleLevelD(m2::RectD const & r);