diff --git a/indexer/feature.cpp b/indexer/feature.cpp index 492da3735f..4d4f9fcfee 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -142,11 +142,14 @@ void FeatureType::ParseMetadata() const if (m_bMetadataParsed) return; m_pLoader->ParseMetadata(); + + if (HasInternet()) + m_metadata.Add(Metadata::FMD_INTERNET, "wlan"); + m_bMetadataParsed = true; } - namespace { template @@ -353,6 +356,8 @@ string FeatureType::GetRoadNumber() const bool FeatureType::HasInternet() const { + ParseTypes(); + bool res = false; ForEachType([&res](uint32_t type)