forked from organicmaps/organicmaps
Added support icon for local ads
This commit is contained in:
parent
528188bc11
commit
2ece0f456f
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ std::string GetCustomIcon(FeatureType & featureType)
|
|||
auto const bannerUrl = metadata.Get(feature::Metadata::FMD_BANNER_URL);
|
||||
if (bannerUrl.find("mcarthurglen") != std::string::npos)
|
||||
return "partner1-l";
|
||||
|
||||
if (bannerUrl.find("sixt") != std::string::npos)
|
||||
return "partner2-l";
|
||||
|
||||
if (bannerUrl.find("adidas") != std::string::npos)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue