Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kunin <dkunin@mapswith.me>2014-02-24 13:59:27 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:12:00 +0300
commit73fd1307c27453877353249348e290095f89caec (patch)
tree9f1d7a74e4cb8ad2528a0082e2688eb8bbf9034a /android/jni/com/mapswithme/maps/Framework.cpp
parentdba39e5273deb120fcc7f31416f7e077f7a7b93e (diff)
Separate cleaner logic for single/multiple search result visualization.
Diffstat (limited to 'android/jni/com/mapswithme/maps/Framework.cpp')
-rw-r--r--android/jni/com/mapswithme/maps/Framework.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/android/jni/com/mapswithme/maps/Framework.cpp b/android/jni/com/mapswithme/maps/Framework.cpp
index cdd52f8c1e..80123881d9 100644
--- a/android/jni/com/mapswithme/maps/Framework.cpp
+++ b/android/jni/com/mapswithme/maps/Framework.cpp
@@ -437,10 +437,16 @@ namespace android
m_mask = mask;
}
- void Framework::ShowSearchResult(search::Result const & r, int index)
+ void Framework::ShowSearchResult(search::Result const & r)
{
m_doLoadState = false;
- m_work.ShowSearchResult(r, index);
+ m_work.ShowSearchResult(r);
+ }
+
+ void Framework::ShowAllSearchResults()
+ {
+ m_doLoadState = false;
+ m_work.ShowAllSearchResults();
}
void Framework::CleanSearchLayerOnMap()