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.cpp')
-rw-r--r--indexer/feature_visibility.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/indexer/feature_visibility.cpp b/indexer/feature_visibility.cpp
index 327f8453f5..ee96d55a33 100644
--- a/indexer/feature_visibility.cpp
+++ b/indexer/feature_visibility.cpp
@@ -387,6 +387,20 @@ bool IsHighway(vector<uint32_t> const & types)
return false;
}
+/*
+bool IsJunction(vector<uint32_t> const & types)
+{
+ char const * arr[] = { "highway", "motorway_junction" };
+ static const uint32_t type = classif().GetTypeByPath(vector<string>(arr, arr + 2));
+
+ for (size_t i = 0; i < types.size(); ++i)
+ if (types[i] == type)
+ return true;
+
+ return false;
+}
+*/
+
bool UsePopulationRank(uint32_t type)
{
class CheckerT