EntranceInfo | iOS SDK | 2GIS Documentation
iOS SDK

EntranceInfo

Information about the entrance to the building.

public init(
    id: DgisObjectId,
    buildingNumber: String?,
    porchName: String?,
    porchNumber: String?,
    apartmentRanges: [ApartmentRange],
    geometry: EntranceGeometry?
)
Parameters
id
buildingNumber
porchName
porchNumber
apartmentRanges
geometry
Properties

Input object ID.

Number of the house to which the entrance belongs.

Non-empty entrance name. Filled in for entrances only. Can take values of the entrance name (e.g. "Entrance 1 ") or building number if the entrance has its own address.

Non-empty entrance number. Filled in for entrances only. Can take values of entrance number (e.g. "1 ") or building number if the entrance has its own address.

Apartment numbers pertaining to the entryway.

Geometries for displaying the entrance on the map.