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/ftypes_matcher.cpp')
-rw-r--r--indexer/ftypes_matcher.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indexer/ftypes_matcher.cpp b/indexer/ftypes_matcher.cpp
index c8abde6d8f..8bf229a034 100644
--- a/indexer/ftypes_matcher.cpp
+++ b/indexer/ftypes_matcher.cpp
@@ -522,6 +522,18 @@ IsViatorChecker const & IsViatorChecker::Instance()
return inst;
}
+IsPublicTransportStopChecker::IsPublicTransportStopChecker()
+{
+ m_types.push_back(classif().GetTypeByPath({"highway", "bus_stop"}));
+ m_types.push_back(classif().GetTypeByPath({"railway", "tram_stop"}));
+}
+
+IsPublicTransportStopChecker const & IsPublicTransportStopChecker::Instance()
+{
+ static IsPublicTransportStopChecker const inst;
+ return inst;
+}
+
IsLocalityChecker::IsLocalityChecker()
{
Classificator const & c = classif();