MapCodeType
public enum MapCodeType
Type of map code, used in MapCode
.
Important
This is a Public Preview API. It may be changed or removed at any time.-
The shortest possible mapcode. Local mapcodes are especially useful when the user knows what territory the mapcode is in (for example, when an application is designed to be used inside just one European country or US state).
Note
The code element of a Local mapcode is ambiguous when used without the territory element.Declaration
Swift
case local
-
This mapcode is unambiguous. It is also the longest.
Declaration
Swift
case international
-
Alternatives to
MapCodeType.local
. Each Alternative mapcode points to slightly different coordinates due to the way mapcodes are computed.Declaration
Swift
case alternative