diff options
author | vng <viktor.govako@gmail.com> | 2011-01-28 10:50:15 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:11:06 +0300 |
commit | 9292651e891607c52a73c4c43125637e30e4fb40 (patch) | |
tree | 589e5362076b8111e9580289c26ee74ed64ba775 /map/feature_vec_model.hpp | |
parent | 9263e8a91c53899a0356c8df30dfcbe7dd28824c (diff) |
Fix initial model rect: if empty, return MercatorBounds. Check for maximum screen scale level (limited by MercatorBounds).
Diffstat (limited to 'map/feature_vec_model.hpp')
-rw-r--r-- | map/feature_vec_model.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/map/feature_vec_model.hpp b/map/feature_vec_model.hpp index 2cd4aef07b..f7a2a60409 100644 --- a/map/feature_vec_model.hpp +++ b/map/feature_vec_model.hpp @@ -32,7 +32,6 @@ namespace model index_t m_multiIndex; public: - FeaturesFetcher(); void InitClassificator(); @@ -56,7 +55,7 @@ namespace model } void AddWorldRect(m2::RectD const & r) { m_rect.Add(r); } - m2::RectD GetWorldRect() const { return m_rect; } + m2::RectD GetWorldRect() const; }; } |