diff options
author | vng <viktor.govako@gmail.com> | 2011-10-15 21:21:08 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:26:03 +0300 |
commit | da53c6195ba1d1f9000013ba501f0f428660967c (patch) | |
tree | 3bec89c87f33165d03662c7979f2a2ca405d6e6c /indexer/feature_impl.hpp | |
parent | 7213aade43df084f27a02180c66d29268530cb69 (diff) |
Support dynamic scales in mwm header.
Diffstat (limited to 'indexer/feature_impl.hpp')
-rw-r--r-- | indexer/feature_impl.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/feature_impl.hpp b/indexer/feature_impl.hpp index eb869a4ea2..02fadc3ee8 100644 --- a/indexer/feature_impl.hpp +++ b/indexer/feature_impl.hpp @@ -5,8 +5,8 @@ namespace feature { - static int g_arrWorldScales[] = { 2, 5, 7, 9 }; // 9 = scales::GetUpperWorldScale() - static int g_arrCountryScales[] = { 10, 12, 14, 17 }; // 17 = scales::GetUpperScale() + static int g_arrWorldScales[] = { 5, 7, 9 }; // 9 = scales::GetUpperWorldScale() + static int g_arrCountryScales[] = { 12, 15, 17 }; // 17 = scales::GetUpperScale() inline string GetTagForIndex(char const * prefix, int ind) { @@ -14,7 +14,7 @@ namespace feature str.reserve(strlen(prefix) + 1); str = prefix; - static char arrChar[] = { '0', '1', '2', '3' }; + static char arrChar[] = { '0', '1', '2' }; STATIC_ASSERT ( ARRAY_SIZE(arrChar) == ARRAY_SIZE(g_arrWorldScales) ); STATIC_ASSERT ( ARRAY_SIZE(arrChar) == ARRAY_SIZE(g_arrCountryScales) ); ASSERT ( ind >= 0 && ind < ARRAY_SIZE(arrChar), (ind) ); |