sdk-search / com.tomtom.online.sdk.search.location / MapCodeType

MapCodeType

@Beta(2020, 12) enum class MapCodeType

Enables the return of a comma-separated MapCodes list. It can also filter the Response to only show selected MapCode types.

Enum Values

LOCAL

The shortest possible (and easiest to remember) 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).

INTERNATIONAL

This mapcode is unambiguous. It is also the longest.

ALTERNATIVE

Alternatives to Local MapCodeType. Each Alternative MapCode points to slightly different coordinates due to the way MapCodes are computed.