diff options
Diffstat (limited to 'indexer/feature_utils.cpp')
-rw-r--r-- | indexer/feature_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/feature_utils.cpp b/indexer/feature_utils.cpp index 5e708a9820..8a845cec6d 100644 --- a/indexer/feature_utils.cpp +++ b/indexer/feature_utils.cpp @@ -72,7 +72,7 @@ public: int scaleNew = scale; CorrectScaleForVisibility(types, scaleNew); - return ((scale != scaleNew) ? scales::GetRectForLevel(scaleNew, rect.Center(), 1.0) : rect); + return ((scale != scaleNew) ? scales::GetRectForLevel(scaleNew, rect.Center()) : rect); } m2::RectD GetViewport(TypesHolder const & types, m2::RectD const & limitRect) const @@ -86,7 +86,7 @@ public: scale = min(scale, GetScaleForType(types[i])); CorrectScaleForVisibility(types, scale); - return scales::GetRectForLevel(scale, limitRect.Center(), 1.0); + return scales::GetRectForLevel(scale, limitRect.Center()); } uint8_t GetSearchRank(TypesHolder const & types, m2::PointD const & pt, uint32_t population) const |