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:
authorvng <viktor.govako@gmail.com>2012-01-27 17:54:47 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:32:32 +0300
commit46036e81aa947556f80313ae30a382c561d726ce (patch)
tree186eaaf3fa37ae36a74d26525434a95402f70045 /indexer/feature_visibility.hpp
parent7d63ad1d3b11caf7fcc8f152f96f1e467129311e (diff)
[search] Remove calculatin of feature viewport rect in IntermediateResult.
Close #522.
Diffstat (limited to 'indexer/feature_visibility.hpp')
-rw-r--r--indexer/feature_visibility.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indexer/feature_visibility.hpp b/indexer/feature_visibility.hpp
index 27b15c136e..70b8790b37 100644
--- a/indexer/feature_visibility.hpp
+++ b/indexer/feature_visibility.hpp
@@ -13,6 +13,8 @@ class FeatureBase;
namespace feature
{
+ class TypesHolder;
+
// Note! do not change this values. Should be equal with EGeomType.
enum FeatureGeoType {
FEATURE_TYPE_POINT = 0,
@@ -25,6 +27,8 @@ namespace feature
bool IsDrawableForIndex(FeatureBase const & f, int level);
int MinDrawableScaleForFeature(FeatureBase const & f);
+
+ pair<int, int> DrawableScaleRangeForText(TypesHolder const & types);
pair<int, int> DrawableScaleRangeForText(FeatureBase const & f);
/// @return (geometry type, is coastline)