@PublicPreview("2021.06") data class MapCode : Serializable
A MapCode represents a specific location to within a few meters. Every location on Earth can be represented by a MapCode. MapCodes are designed to be short, easy to recognize, remember, and communicate.
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 International MapCode.
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.
val code: String
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. |
|
val fullMapCode: String
The full form of a MapCode (territory + code). It is always unambiguous. |
|
val territory: String
The territory element of the MapCode. The territory element is always in the Latin alphabet. It is empty for an International MapCode. |
|
val type: MapCodeType
The type of MapCode. |