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-09-24 17:27:58 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:43:41 +0300
commitb4952df726bd2b7e020739f3746b73c088c68983 (patch)
treefe3ed5530d6e2e9859c7fb1e8e544b169f0dc52f /indexer/feature_visibility.hpp
parente8bd221f5e7dafc95099a952ba044ac2968b3624 (diff)
Get AddressInfo for feature with visible texts or symbols.
Diffstat (limited to 'indexer/feature_visibility.hpp')
-rw-r--r--indexer/feature_visibility.hpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/indexer/feature_visibility.hpp b/indexer/feature_visibility.hpp
index 081a38ba43..65d28220e7 100644
--- a/indexer/feature_visibility.hpp
+++ b/indexer/feature_visibility.hpp
@@ -18,7 +18,8 @@ namespace feature
/// @note do not change this values. Should be equal with EGeomType.
/// Used for checking visibility (by drawing style) for feature's geometry type
/// (for Area - check only area type, but can draw symbol or caption).
- enum FeatureGeoType {
+ enum FeatureGeoType
+ {
FEATURE_TYPE_POINT = 0,
FEATURE_TYPE_LINE = 1,
FEATURE_TYPE_AREA = 2
@@ -43,8 +44,13 @@ namespace feature
pair<int, int> GetDrawableScaleRange(TypesHolder const & types);
/// @name Get scale range when feature's text is visible.
- pair<int, int> GetDrawableScaleRangeForText(TypesHolder const & types);
- pair<int, int> GetDrawableScaleRangeForText(FeatureBase const & f);
+ enum
+ {
+ RULE_TEXT = 1, RULE_SYMBOL = 2
+ };
+
+ pair<int, int> GetDrawableScaleRangeForRules(TypesHolder const & types, int rules);
+ pair<int, int> GetDrawableScaleRangeForRules(FeatureBase const & f, int rules);
//@}
/// @return (geometry type, is coastline)