diff options
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/data_source_helpers.cpp | 2 | ||||
-rw-r--r-- | indexer/feature_covering.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/indexer/data_source_helpers.cpp b/indexer/data_source_helpers.cpp index 65945e41d3..e805280f89 100644 --- a/indexer/data_source_helpers.cpp +++ b/indexer/data_source_helpers.cpp @@ -33,7 +33,7 @@ void ForEachFeatureAtPoint(DataSource const & dataSource, function<void(FeatureT auto limitRect = ft.GetLimitRect(kScale); // Be a little more tolerant. When used by editor mercator is given // with some error, so we must extend limit rect a bit. - limitRect.Inflate(kCellIdToPointEps, kCellIdToPointEps); + limitRect.Inflate(kMwmPointAccuracy, kMwmPointAccuracy); if (limitRect.IsPointInside(mercator) && feature::GetMinDistanceMeters(ft, mercator) <= toleranceInMeters) { diff --git a/indexer/feature_covering.hpp b/indexer/feature_covering.hpp index 81336567fc..3a852dc877 100644 --- a/indexer/feature_covering.hpp +++ b/indexer/feature_covering.hpp @@ -43,7 +43,7 @@ void SortAndMergeIntervals(Intervals v, Intervals & res); template <int DEPTH_LEVELS> m2::CellId<DEPTH_LEVELS> GetRectIdAsIs(m2::RectD const & r) { - double const eps = kCellIdToPointEps; + double const eps = kMwmPointAccuracy; using Converter = CellIdConverter<MercatorBounds, m2::CellId<DEPTH_LEVELS>>; return Converter::Cover2PointsWithCell( |