From e2a23b915c03ad0292470c6b4996e00380d885b6 Mon Sep 17 00:00:00 2001 From: Dmitry Kunin Date: Sun, 9 Jun 2013 19:11:47 +0300 Subject: [PATCH] [android] Fixed wrong balloon data for search result. --- android/jni/com/mapswithme/maps/Framework.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/jni/com/mapswithme/maps/Framework.cpp b/android/jni/com/mapswithme/maps/Framework.cpp index a0397c64c0..9dfb3d5ab5 100644 --- a/android/jni/com/mapswithme/maps/Framework.cpp +++ b/android/jni/com/mapswithme/maps/Framework.cpp @@ -464,6 +464,9 @@ namespace android info.MakeFrom(r); ActivatePopupWithAddressInfo(r.GetFeatureCenter(), info); + m2:: PointD globalPoint = r.GetFeatureCenter(); + m_bmBaloon.get()->setOnClickListener(bind(&Framework::OnActivatePoi, this, _1, info, globalPoint)); + m_work.ShowSearchResult(r); }