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:
authorAlex Zolotarev <alex@maps.me>2016-04-07 13:01:45 +0300
committerAlex Zolotarev <alex@maps.me>2016-04-07 19:56:54 +0300
commit1965b193d44970b212ca4463f1b25bf30632c891 (patch)
tree8fc4cb2691f8fafe9ae8aa5485c19982d7386b2f /indexer/map_object.hpp
parent220f32610fb17126e989ed121363021834912efc (diff)
MapObject::IsBuilding() to display additional options in UI for buildings.
Diffstat (limited to 'indexer/map_object.hpp')
-rw-r--r--indexer/map_object.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/map_object.hpp b/indexer/map_object.hpp
index a97dae8b7c..a26db39d04 100644
--- a/indexer/map_object.hpp
+++ b/indexer/map_object.hpp
@@ -95,6 +95,8 @@ public:
feature::Metadata const & GetMetadata() const;
bool IsPointType() const;
+ /// @returns true if object is of building type.
+ bool IsBuilding() const;
protected:
FeatureID m_featureID;