Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoliy Tomilov <tomilovanatoliy@gmail.com>2020-08-11 12:41:05 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2020-08-14 10:57:03 +0300
commit29b4dff2af9b907dcbd1e6ca83656cafa609d8de (patch)
tree89445b589955f9d250d47ece2af5204e6b4f9bcf /map/search_api.hpp
parente6eb7c619572d9543f3d1ec093d065c55f4425d2 (diff)
[drape] [Booking] [search] Add heuristics to approximately account for the width of text on Booking searchmark's badge MAPSME-14325
Diffstat (limited to 'map/search_api.hpp')
-rw-r--r--map/search_api.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map/search_api.hpp b/map/search_api.hpp
index 24eeae6a0f..56d6fee254 100644
--- a/map/search_api.hpp
+++ b/map/search_api.hpp
@@ -78,7 +78,7 @@ public:
return false;
};
- virtual double GetMinDistanceBetweenResults() const { return 0.0; };
+ virtual m2::PointD GetMinDistanceBetweenResults() const { return {}; };
virtual void FilterResultsForHotelsQuery(booking::filter::Tasks const & filterTasks,
search::Results const & results, bool inViewport)