diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-06-05 18:48:04 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-06-05 18:48:04 +0300 |
commit | 4871e2f7f48fd690f3e923797130b62e9e1a8bde (patch) | |
tree | 3c21933e139e1e3a693c092156a4dfdb4145d596 /indexer/map_object.cpp | |
parent | 338283c7fcfeacf999bade33093a0f2b9214d0c9 (diff) |
[indexer] wheelchair type info added into MapObject class
Diffstat (limited to 'indexer/map_object.cpp')
-rw-r--r-- | indexer/map_object.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indexer/map_object.cpp b/indexer/map_object.cpp index 8ab26b6dea..3db6a7e40c 100644 --- a/indexer/map_object.cpp +++ b/indexer/map_object.cpp @@ -198,6 +198,11 @@ string MapObject::GetBuildingLevels() const return m_metadata.Get(feature::Metadata::FMD_BUILDING_LEVELS); } +wheelchair::Type MapObject::GetWheelchairType() const +{ + return wheelchair::Matcher::GetType(m_types); +} + feature::Metadata const & MapObject::GetMetadata() const { return m_metadata; } bool MapObject::IsPointType() const { return m_geomType == feature::EGeomType::GEOM_POINT; } bool MapObject::IsBuilding() const { return ftypes::IsBuildingChecker::Instance()(m_types); } |