MapCode
@available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
@objc
public class MapCode : NSObject
Public Preview
This is under Public Preview and subject to change by the end of 2020.12.
More information is available at: https://developer.tomtom.com/public-preview
Represents a mapcodes.
-
The mapcode type.
Declaration
Swift
@objc public let type: MapCodeOptions
-
The full form of a mapcode (territory + code). It is always unambiguous.
Declaration
Swift
@objc public let fullMapcode: String
-
The territory element of the mapcode. The territory element is always in the Latin alphabet. It is empty for an International mapcode.
Declaration
Swift
@objc public let territory: String?
-
The mapcode without the territory element. It consists of two groups of letters and digits separated by a dot. It is empty for an International mapcode.
Declaration
Swift
@objc public let code: String?