MapCode

fun MapCode(    type: MapCodeType,     fullMapCode: String,     territory: String? = null,     code: String? = null)

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.