CountryInformationElement
Horizon element that contains data about a country.
To receive such elements in the horizon snapshot, specify CountryInformationElementType in the horizon options that you register with the horizon engine:
val horizonOptions = HorizonOptions(
elementTypes = listOf(CountryInformationElementType, ...),
...
)
Constructors
Properties
ISO 3166-1 alpha-3 country code. For example: "USA" for the United States of America, or "NLD" for the Netherlands. Empty string if not available. See https://www.iso.org/obp/ui/#iso:std:iso:3166:-1:ed-4:v1:en for more details.
Name of the country in the language of the current locale, as specified in com.tomtom.sdk.navigation.ConfigurationSnapshot. Empty string if not available.
Driving side for the country.
End offset on the horizon path.
Identifier of the horizon path to which this element belongs.
Speed limits defined for this region/state/country. Empty list if not available.
Two-letter code for the first-level subdivision of a country that can be used in combination with the ISO 3166-1 alpha-2 country code to form the ISO 3166-2 code of the subdivision. For example: "ON" (ISO 3166-2: "CA-ON") for Ontario, or "ZE" (ISO 3166-2: "NL-ZE") for Zeeland. Empty string if not available. See https://www.iso.org/obp/ui/#iso:std:iso:3166:-2:ed-4:v1:en for more details.
Name of the region/state in the language of the current locale, as specified in com.tomtom.sdk.navigation.ConfigurationSnapshot. Empty string if not available.
Speed unit used in the country.
Start offset on the horizon path.