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
path: root/map
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2016-10-24 13:57:27 +0300
committerVladiMihaylenko <vxmihaylenko@gmail.com>2016-10-24 14:11:00 +0300
commit485e6d9fefce78c09599f47c79b226ddbc4b2278 (patch)
tree63371c0e3af53537835dfafe5a014a41857f999d /map
parente49ea5497f1581b69d187e7b79a5dc09e26d9593 (diff)
[map] Added flats to place page subtitle.
Diffstat (limited to 'map')
-rw-r--r--map/place_page_info.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/map/place_page_info.cpp b/map/place_page_info.cpp
index 8e63bc5803..019224a7d2 100644
--- a/map/place_page_info.cpp
+++ b/map/place_page_info.cpp
@@ -73,6 +73,11 @@ string Info::GetSubtitle() const
// Type.
values.push_back(GetLocalizedType());
+ // Flats.
+ string const flats = GetFlats();
+ if (!flats.empty())
+ values.push_back(flats);
+
// Cuisines.
for (string const & cuisine : GetLocalizedCuisines())
values.push_back(cuisine);