TTMapCode
Objective-C
@interface TTMapCode : NSObject
Swift
class TTMapCode : NSObject
Represents a “mapcodes” field element in a JSON Response.
-
The mapcode type.
Declaration
Objective-C
@property (nonatomic, readonly) TTMapCodeOptions type;
Swift
var type: TTMapCodeOptions { get }
-
The full form of a mapcode (territory + code). It is always unambiguous.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull fullMapcode;
Swift
var fullMapcode: String { get }
-
The territory element of the mapcode. The territory element is always in the Latin alphabet. It is empty for an International mapcode.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nullable territory;
Swift
var territory: String? { get }
-
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
Objective-C
@property (nonatomic, readonly) NSString *_Nullable code;
Swift
var code: String? { get }