diff options
author | vng <viktor.govako@gmail.com> | 2012-02-21 21:27:38 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:34:16 +0300 |
commit | 7ddf23c0c03f085a39a62191e9741d4b8741f9db (patch) | |
tree | 336da06500840f0063efffc3eebd2a5774b21cbd /indexer/feature_utils.hpp | |
parent | fd7000f560049504f116f3fe82f8d4c8d393f67a (diff) |
[search] Better viewport calculation for results.
Diffstat (limited to 'indexer/feature_utils.hpp')
-rw-r--r-- | indexer/feature_utils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature_utils.hpp b/indexer/feature_utils.hpp index 93906eedbe..0691682e9e 100644 --- a/indexer/feature_utils.hpp +++ b/indexer/feature_utils.hpp @@ -10,7 +10,7 @@ namespace feature class TypesHolder; /// Get viewport to show given feature. Used in search. - m2::RectD GetFeatureViewport(TypesHolder const & types, m2::PointD const & center); + m2::RectD GetFeatureViewport(TypesHolder const & types, m2::RectD const & limRect); /// Get search rank for a feature. /// Roughly, rank + 1 means that feature is 1.x times more popular. |