forked from organicmaps/organicmaps
show cian for unnamed buildings only
This commit is contained in:
parent
e63ead190c
commit
a83b3f15f0
1 changed files with 2 additions and 1 deletions
|
@ -883,7 +883,8 @@ void Framework::FillInfoFromFeatureType(FeatureType const & ft, place_page::Info
|
|||
LOG(LINFO, (url));
|
||||
}
|
||||
else if (cian::Api::IsCitySupported(city) &&
|
||||
(buildingHolder.Equals({ft}) || ftypes::IsPublicTransportStopChecker::Instance()(ft)))
|
||||
((buildingHolder.Equals({ft}) && !ft.HasName()) ||
|
||||
ftypes::IsPublicTransportStopChecker::Instance()(ft)))
|
||||
{
|
||||
info.SetSponsoredType(SponsoredType::Cian);
|
||||
info.SetSponsoredUrl(cian::Api::GetMainPageUrl());
|
||||
|
|
Loading…
Add table
Reference in a new issue