diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2018-08-02 20:06:56 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2018-08-07 17:29:07 +0300 |
commit | a53c5a703354563dc78d179c4fe78e3af4ec6812 (patch) | |
tree | 42b5029478bb9d2cdc7405849808102835c3f526 /search | |
parent | a35e0bf18e7a1f838a316196cb513a079f5559c8 (diff) |
[ios][android] Closed or Popular condition is added for everywhere search
Diffstat (limited to 'search')
-rw-r--r-- | search/result.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/search/result.hpp b/search/result.hpp index 10bb764372..a62d6265b2 100644 --- a/search/result.hpp +++ b/search/result.hpp @@ -59,6 +59,9 @@ public: bool m_isInitialized = false; }; + // Min distance to search result when popularity label has a higher priority (in meters). + static auto constexpr kPopularityHighPriorityMinDistance = 50000.0; + // For Type::Feature. Result(FeatureID const & id, m2::PointD const & pt, std::string const & str, std::string const & address, std::string const & featureTypeName, uint32_t featureType, |