MapCodeType
public enum MapCodeType : String
Defines the way a map code would be represented
Important
This is a Public Preview API. It may be changed or removed at any time.-
The shortest and easiest to remember map code. Local map codes are especially useful when the user knows what territory the map code is in (for example, when an application is designed to be used inside just one European country or US state).
Declaration
Swift
case local = "Local"
-
The longest and unambiguous type of map code
Declaration
Swift
case international = "International"
-
An alternative representation of
.local
Note
An alternative map codes could point to slightly different coordinates due to the way map codes are computed.Declaration
Swift
case alternative = "Alternative"