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

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

The complete address of an object may contain several separate address components.

The name of the building.

Zip code.

The unique zip code of the building.

Comment on the address. Example: “office 301; floor 9”.