diff options
author | Viktor Govako <viktor.govako@gmail.com> | 2016-04-22 18:27:43 +0300 |
---|---|---|
committer | Viktor Govako <viktor.govako@gmail.com> | 2016-04-22 18:27:43 +0300 |
commit | aa7489bd4c60c356cf1cd5901d704328535d2eb9 (patch) | |
tree | ca5cb9ba30bc1e8d30b80e7ace88dd431e5aad0e /indexer | |
parent | 36779e5b0a52469bd5c358961611917aa2d278df (diff) | |
parent | e195cbfff33aa75aa801c5d6da16be9ae921adaf (diff) |
Merge pull request #2935 from rokuz/improve-choose-pos
Improve choose pos
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/scales.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/indexer/scales.hpp b/indexer/scales.hpp index 2e0b21048a..10d9cc1c4a 100644 --- a/indexer/scales.hpp +++ b/indexer/scales.hpp @@ -18,14 +18,16 @@ namespace scales constexpr int GetUpperCountryScale() { return GetUpperWorldScale() + 1; } /// Upper scale for user comfort view (e.g. location zoom). constexpr int GetUpperComfortScale() { return UPPER_STYLE_SCALE - 2; } - /// Default navigation mode scale + /// Default navigation mode scale. constexpr int GetNavigationScale() { return UPPER_STYLE_SCALE - 3; } - /// Default pedestrian navigation mode scale + /// Default pedestrian navigation mode scale. constexpr int GetPedestrianNavigationScale() { return UPPER_STYLE_SCALE - 2; } - /// Default navigation 3d mode scale + /// Default navigation 3d mode scale. constexpr int GetNavigation3dScale() { return UPPER_STYLE_SCALE - 2; } - /// Default pedestrian navigation 3d mode scale + /// Default pedestrian navigation 3d mode scale. constexpr int GetPedestrianNavigation3dScale() { return UPPER_STYLE_SCALE - 2; } + /// Default scale in adding-new-place mode. + constexpr int GetAddNewPlaceScale() { return 18; } int GetMinAllowableIn3dScale(); |