diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-01-28 00:24:47 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:11:04 +0300 |
commit | 051138af68637d2ab78228d59e95c33a523baeb0 (patch) | |
tree | ff7a5b18e60c66cd30f3bc0830e3452035e6a846 /map/feature_vec_model.cpp | |
parent | f5c67f500f98a760a0d0cecce519d3d70b65a066 (diff) |
Setting MaxMercatorRect by default.
Diffstat (limited to 'map/feature_vec_model.cpp')
-rw-r--r-- | map/feature_vec_model.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/map/feature_vec_model.cpp b/map/feature_vec_model.cpp index 7b6990b353..a629301a08 100644 --- a/map/feature_vec_model.cpp +++ b/map/feature_vec_model.cpp @@ -18,6 +18,11 @@ namespace model { +FeaturesFetcher::FeaturesFetcher() +{ + Clean(); +} + void FeaturesFetcher::InitClassificator() { Platform & p = GetPlatform(); @@ -52,7 +57,11 @@ void FeaturesFetcher::RemoveMap(string const & fName) void FeaturesFetcher::Clean() { - m_rect.MakeEmpty(); + m_rect = m2::RectD(MercatorBounds::minX, + MercatorBounds::minY, + MercatorBounds::maxX, + MercatorBounds::maxY); +// m_rect.MakeEmpty(); m_multiIndex.Clean(); } |