MapCode
public struct MapCode : Decodable, Equatable
Describes characteristic of the applied map code
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates MapCode from the Decoder
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
a decoder containing MapCode serialized info
-
Specifies the format of the map code
Declaration
Swift
public let type: MapCodeType
-
An extended version of the map code
Declaration
Swift
public let fullMapCode: String?
-
Related geographical territory
Declaration
Swift
public let territory: String?
-
A shorter version of the map code
Declaration
Swift
public let code: String?