forked from organicmaps/organicmaps
[core] Added possibility to get place's raw types.
This commit is contained in:
parent
2d14212f00
commit
68e9bbfcca
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue