From 20c38dec87f38f66073d34c99708239a0f923672 Mon Sep 17 00:00:00 2001 From: tatiana-yan Date: Thu, 28 May 2020 18:07:28 +0300 Subject: [PATCH] [indexer] Keep invisible recycling=* types. --- indexer/feature_visibility.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indexer/feature_visibility.cpp b/indexer/feature_visibility.cpp index 89412fa476..4700865dea 100644 --- a/indexer/feature_visibility.cpp +++ b/indexer/feature_visibility.cpp @@ -280,6 +280,7 @@ namespace static uint32_t const psurface = classif().GetTypeByPath({"psurface"}); static uint32_t const wheelchair = classif().GetTypeByPath({"wheelchair"}); static uint32_t const cuisine = classif().GetTypeByPath({"cuisine"}); + static uint32_t const recycling = classif().GetTypeByPath({"recycling"}); static uint32_t const sponsored = classif().GetTypeByPath({"sponsored"}); // Reserved for custom event processing, e.g. fc2018. // static uint32_t const event = classif().GetTypeByPath({"event" }); @@ -300,7 +301,7 @@ namespace if (type == wheelchair && typeLength == 2) return true; - if (type == cuisine) + if (type == cuisine || type == recycling) return true; if (g != GeomType::Line && type == sponsored)