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:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2015-12-03 15:00:01 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2015-12-29 16:36:12 +0300
commitcef4c1b7edcd6e23f8472e8a590e1b4e6f30a611 (patch)
treec0564269f25497a0889493ccb55053104a798165 /indexer/scales.hpp
parente6eabf5f0bc7d47dfc29a9692344695a7b3a554f (diff)
Fixed map positioning when showing bookmarks and search results and switching between 2d and 3d at the same time.
Diffstat (limited to 'indexer/scales.hpp')
-rw-r--r--indexer/scales.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indexer/scales.hpp b/indexer/scales.hpp
index d9bd82a0b7..6844c2aaaf 100644
--- a/indexer/scales.hpp
+++ b/indexer/scales.hpp
@@ -20,6 +20,12 @@ namespace scales
inline int GetNavigationScale() { return UPPER_STYLE_SCALE - 4; }
/// Default pedestrian navigation mode scale
inline int GetPedestrianNavigationScale() { return UPPER_STYLE_SCALE - 1; }
+ /// Default navigation 3d mode scale
+ inline int GetNavigation3dScale() { return UPPER_STYLE_SCALE - 2; }
+ /// Default pedestrian navigation 3d mode scale
+ inline int GetPedestrianNavigation3dScale() { return UPPER_STYLE_SCALE; }
+ /// Minimal allowable scale in 3d mode
+ inline int GetMinAllowableIn3dScale() { return 17; }
double GetScaleLevelD(double ratio);
double GetScaleLevelD(m2::RectD const & r);