diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-07-14 15:31:01 +0300 |
---|---|---|
committer | Aleksandr Zatsepin <alexzatsepin@users.noreply.github.com> | 2017-07-14 16:05:11 +0300 |
commit | a97e9da8360967aadc00858b180d9be0184f7c75 (patch) | |
tree | 83a5dea62c572bbac8574e9f5a78accfe76056a5 /indexer/ftypes_matcher.cpp | |
parent | 9c71fbdcc07f920337af1113cb27289ce8b0c634 (diff) |
[partners_api] cian pp
Diffstat (limited to 'indexer/ftypes_matcher.cpp')
-rw-r--r-- | indexer/ftypes_matcher.cpp | 12 |
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(); |