forked from organicmaps/organicmaps
Added missing API ID for selected point to use in Android intents.
This commit is contained in:
parent
be6d47fd55
commit
b167513276
2 changed files with 3 additions and 0 deletions
|
@ -659,6 +659,7 @@ void Framework::FillPointInfo(m2::PointD const & mercator, string const & custom
|
|||
void Framework::FillApiMarkInfo(ApiMarkPoint const & api, place_page::Info & info) const
|
||||
{
|
||||
FillPointInfo(api.GetPivot(), api.GetName(), info);
|
||||
info.m_apiId = api.GetID();
|
||||
info.m_apiUrl = GenerateApiBackUrl(api);
|
||||
}
|
||||
|
||||
|
|
|
@ -56,6 +56,8 @@ public:
|
|||
string m_customName;
|
||||
/// If not empty, bookmark is bound to this place page.
|
||||
BookmarkAndCategory m_bac = MakeEmptyBookmarkAndCategory();
|
||||
/// Api ID passed for the selected object. It's automatically included in api url below.
|
||||
string m_apiId;
|
||||
/// [Deep] link to open when "Back" button is pressed in a Place Page.
|
||||
string m_apiUrl;
|
||||
bool m_isMyPosition = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue