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:
Diffstat (limited to 'indexer/feature_visibility.hpp')
-rw-r--r--indexer/feature_visibility.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indexer/feature_visibility.hpp b/indexer/feature_visibility.hpp
index b4ba4c5f77..6f3fea925c 100644
--- a/indexer/feature_visibility.hpp
+++ b/indexer/feature_visibility.hpp
@@ -19,13 +19,16 @@ namespace feature
enum FeatureGeoType {
FEATURE_TYPE_POINT = 0,
FEATURE_TYPE_LINE = 1,
- FEATURE_TYPE_AREA = 2
+ FEATURE_TYPE_AREA = 2,
+ FEATURE_TYPE_LINE_AREA = 3
};
bool IsDrawableAny(uint32_t type);
- bool IsDrawableLike(vector<uint32_t> const & type, FeatureGeoType ft);
+ bool IsDrawableLike(vector<uint32_t> const & types, FeatureGeoType ft);
bool IsDrawableForIndex(FeatureBase const & f, int level);
+ bool RemoveNoDrawableTypes(vector<uint32_t> & types, FeatureGeoType ft);
+
int GetMinDrawableScale(FeatureBase const & f);
/// @return [-1, -1] if no any text exists