MapCode
data class MapCode( val type: MapCodeType, val fullMapCode: String, val territory: String? = null, val code: String? = null)
Content copied to clipboard
MapCodes are designed to be short, easy to recognize, remember, and communicate. Every location on Earth can be represented by a MapCode. A MapCode represents a specific location to within a few meters.
Parameters
type
The type of MapCode.
fullMapCode
The full form of a MapCode (territory + code). It is always unambiguous.
territory
The territory element of the MapCode. The territory element is always in the Latin alphabet. It is empty for an MapCodeType.International.
code
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.
Important: This is a Public Preview API. It may be changed or removed at any time.