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:
authorvng <viktor.govako@gmail.com>2014-10-10 19:21:20 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:30:16 +0300
commite2381b3571871060bc0755a916a608c97f8a27bb (patch)
tree2b7e17a89a76559029471bcf19b02fb25f8b3534 /map/country_tree.cpp
parent5c7c25885023d7dcbf1fbfbf2533c1cf8ab6f6d0 (diff)
[android] Added getRemoteItemSizes() instead of using getItemSizes().second for fast UI responding.
Diffstat (limited to 'map/country_tree.cpp')
-rw-r--r--map/country_tree.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/map/country_tree.cpp b/map/country_tree.cpp
index e82dc28e8a..1a0bf03f3c 100644
--- a/map/country_tree.cpp
+++ b/map/country_tree.cpp
@@ -150,6 +150,11 @@ LocalAndRemoteSizeT const CountryTree::GetLeafSize(int position, TMapOptions con
return GetActiveMapLayout().GetCountrySize(GetChild(position), options);
}
+LocalAndRemoteSizeT const CountryTree::GetRemoteLeafSizes(int position) const
+{
+ return GetActiveMapLayout().GetRemoteCountrySizes(GetChild(position));
+}
+
bool CountryTree::IsCountryRoot() const
{
TIndex index = GetCurrentRoot();