diff options
author | vng <viktor.govako@gmail.com> | 2013-07-19 15:01:37 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:59:04 +0300 |
commit | ce4870393dd3902147ddfd29a81dc50af23eff18 (patch) | |
tree | 32693ce116f18c148820b581d9a13122e45a3661 /indexer/scales.hpp | |
parent | 5aaee9909f78245f041fcc24cfaaf26f4506dbd3 (diff) |
Fixes according to code review.
Diffstat (limited to 'indexer/scales.hpp')
-rw-r--r-- | indexer/scales.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indexer/scales.hpp b/indexer/scales.hpp index aa083c8a9b..88d2182f92 100644 --- a/indexer/scales.hpp +++ b/indexer/scales.hpp @@ -3,13 +3,19 @@ #include "../geometry/rect2d.hpp" #include "../geometry/point2d.hpp" -int const UPPER_STYLE_SCALE = 19; namespace scales { + int const UPPER_STYLE_SCALE = 19; + + /// Upper scale for data generation and indexer buckets. inline int GetUpperScale() { return 17; } + /// Upper scale according to drawing rules. inline int GetUpperStyleScale() { return UPPER_STYLE_SCALE; } + /// Upper scales for World visible styles and indexer buckets. inline int GetUpperWorldScale() { return 9; } + /// Upper scale for user comfort view (e.g. location zoom). + inline int GetUpperComfortScale() { return UPPER_STYLE_SCALE - 2; } double GetM2PFactor(int level); |