[core] Added possibility to get place's raw types.

This commit is contained in:
VladiMihaylenko 2016-12-08 19:12:00 +03:00 committed by Илья Гречухин
parent 2d14212f00
commit 68e9bbfcca
2 changed files with 3 additions and 0 deletions

View file

@ -202,4 +202,5 @@ bool Info::IsReachableByTaxi() const
}
void Info::SetMercator(m2::PointD const & mercator) { m_mercator = mercator; }
vector<string> Info::GetRawTypes() const { return m_types.ToObjectNames(); }
} // namespace place_page

View file

@ -89,6 +89,8 @@ public:
void SetMercator(m2::PointD const & mercator);
vector<string> GetRawTypes() const;
/// Comes from API, shared links etc.
string m_customName;
/// If not empty, bookmark is bound to this place page.