Address | iOS SDK | 2GIS Documentation
iOS SDK

Address

Address as a set of individual components.

public init(
    drillDown: [AddressAdmDiv],
    components: [AddressComponent],
    buildingName: String?,
    postCode: String?,
    buildingCode: String?,
    addressComment: String?
)
Parameters
drillDown
components
buildingName
postCode
buildingCode
addressComment
Properties

Set of administrative division objects in which the object being described is located.

Complete address of an object may contain several separate address components.

Name of the building.

ZIP code.

The unique ZIP code of the building.

Address comment. Example: “office 301; floor 9”.