diff options
author | vng <viktor.govako@gmail.com> | 2011-10-12 16:54:30 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:25:53 +0300 |
commit | eddeb5176f2ff707ced4cea336b29a49bc319be5 (patch) | |
tree | a5e00541190a0cc0b517b857bf8aa55aef51b88a /indexer/feature_covering.hpp | |
parent | c8325d4b968c95ae75f160f7b294903667bd5cd8 (diff) |
Prepare for drawing WorldCoasts in [0-17] scales:
- Use DataHeader::GetLastScale for covering depth calculation
- Pass correct scale to ForEachInIntervalAndScale for scale >= 10.
Diffstat (limited to 'indexer/feature_covering.hpp')
-rw-r--r-- | indexer/feature_covering.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/feature_covering.hpp b/indexer/feature_covering.hpp index 984f712d0c..593ecbc137 100644 --- a/indexer/feature_covering.hpp +++ b/indexer/feature_covering.hpp @@ -31,7 +31,7 @@ namespace covering RectId GetRectIdAsIs(m2::RectD const & r); // Calculate cell coding depth according to max visual scale for mwm. - int GetCodingDepth(pair<int, int> const & scalesR); + int GetCodingDepth(int scale); class CoveringGetter { @@ -47,6 +47,6 @@ namespace covering /// - 2 - make full cover\n CoveringGetter(m2::RectD const & r, int mode) : m_rect(r), m_mode(mode) {} - IntervalsT const & Get(pair<int, int> const & scaleR); + IntervalsT const & Get(int scale); }; } |