diff options
Diffstat (limited to 'map/place_page_info.cpp')
-rw-r--r-- | map/place_page_info.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/map/place_page_info.cpp b/map/place_page_info.cpp index 4eb6ec48c1..b756123a75 100644 --- a/map/place_page_info.cpp +++ b/map/place_page_info.cpp @@ -28,6 +28,12 @@ bool Info::IsNotEditableSponsored() const return m_sponsoredType != SponsoredType::None && m_sponsoredType != SponsoredType::Opentable; } +bool Info::IsRoutePoint() const +{ + //TODO(@darina) Implement checker + return m_bac.IsValid() && m_bookmarkCategoryName == "TMP_Routing_Points"; +} + bool Info::ShouldShowAddPlace() const { auto const isPointOrBuilding = IsPointType() || IsBuilding(); |