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:
authorYuri Gorshenin <y@maps.me>2015-10-09 17:35:42 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:02:24 +0300
commit2bbd263956846d101408a73a4862ecc92f5cfbae (patch)
tree4075651386784827ae0c97b00d258e3ce6d51141 /indexer/scales.hpp
parent3bcfa2591519905d79a8ac56f6557af422369daf (diff)
Review fixes.
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 2c3398ccc1..476ea2e48d 100644
--- a/indexer/scales.hpp
+++ b/indexer/scales.hpp
@@ -14,6 +14,8 @@ namespace scales
inline int GetUpperStyleScale() { return UPPER_STYLE_SCALE; }
/// Upper scales for World visible styles and indexer buckets.
inline int GetUpperWorldScale() { return 9; }
+ /// Upper scale level for countries.
+ inline int GetUpperCountryScale() { return GetUpperWorldScale() + 1; }
/// Upper scale for user comfort view (e.g. location zoom).
inline int GetUpperComfortScale() { return UPPER_STYLE_SCALE - 2; }
/// Default navigation mode scale