diff options
Diffstat (limited to 'map/place_page_info.cpp')
-rw-r--r-- | map/place_page_info.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/map/place_page_info.cpp b/map/place_page_info.cpp index cc153fe4a2..3e60963fd5 100644 --- a/map/place_page_info.cpp +++ b/map/place_page_info.cpp @@ -199,6 +199,13 @@ string Info::GetBannerUrl() const return m_banner.GetFormattedUrl(m_metadata.Get(feature::Metadata::FMD_BANNER_URL)); } +string Info::GetBannerId() const +{ + if (m_banner.IsEmpty()) + return {}; + return m_banner.GetId(); +} + bool Info::IsReachableByTaxi() const { return IsReachableByTaxiChecker::Instance()(m_types); |