diff options
Diffstat (limited to 'indexer/map_object.cpp')
-rw-r--r-- | indexer/map_object.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indexer/map_object.cpp b/indexer/map_object.cpp index 7476087f57..c3e1d9203a 100644 --- a/indexer/map_object.cpp +++ b/indexer/map_object.cpp @@ -74,8 +74,8 @@ void MapObject::SetFromFeatureType(FeatureType & ft) m_name = ft.GetNames(); m_types = feature::TypesHolder(ft); m_metadata = ft.GetMetadata(); + m_houseNumber = ft.GetHouseNumber(); m_featureID = ft.GetID(); - ASSERT(m_featureID.IsValid(), ()); m_geomType = ft.GetFeatureType(); if (m_geomType == feature::GEOM_AREA) { @@ -96,6 +96,7 @@ FeatureID const & MapObject::GetID() const { return m_featureID; } ms::LatLon MapObject::GetLatLon() const { return MercatorBounds::ToLatLon(m_mercator); } m2::PointD const & MapObject::GetMercator() const { return m_mercator; } vector<m2::PointD> const & MapObject::GetTriangesAsPoints() const { return m_triangles; } +vector<m2::PointD> const & MapObject::GetPoints() const { return m_points; } feature::TypesHolder const & MapObject::GetTypes() const { return m_types; } string MapObject::GetDefaultName() const @@ -110,6 +111,8 @@ StringUtf8Multilang const & MapObject::GetNameMultilang() const return m_name; } +string const & MapObject::GetHouseNumber() const { return m_houseNumber; } + string MapObject::GetLocalizedType() const { ASSERT(!m_types.Empty(), ()); |