sdk-search / com.tomtom.online.sdk.search.data.common / MapCode

MapCode

open 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.

Constructors

<init>

MapCode()

Empty constructor for the MapCode.

MapCode(type: MapCodeType!, fullMapcode: String!, territory: String!, code: String!)

Default constructor for the MapCode.

Properties

code

var code: String!

The mapcode without the territory element. It consists of two groups of letters and digits separated by a dot. Is it empty for an International mapcode. -- GETTER --

fullMapcode

var fullMapcode: String!

The full form of a mapcode (territory + code). It is always unambiguous. -- GETTER --

territory

var territory: String!

The territory element of the mapcode. The territory element is always in the Latin alphabet. Is it empty for an International mapcode. -- GETTER --

type

var type: MapCodeType!

The type of mapcode. -- GETTER --