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, ...),
...
)
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Properties
ISO 3166-1 alpha-3 country code. For example: "USA" for the United States of America, or "NLD" for the Netherlands. See https://www.iso.org/obp/ui/#iso:std:iso:3166:-1:ed-4:v1:en for more details.
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.
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. See https://www.iso.org/obp/ui/#iso:std:iso:3166:-2:ed-4:v1:en for more details.
Speed unit used in the country.
Start offset on the horizon path.