RoadShield

fun RoadShield(fullRoadNumber: String, shieldContent: String = "", affixes: List<String> = emptyList(), stateCode: String = "", countryCode: String = "", languageCode: String = "", reference: String = "")

Parameters

fullRoadNumber

Full road number. Most road numbers have a 'letter' prefix, which is also included.

shieldContent

The road number as shown on the shield.

affixes

List of possible affixes that can be shown in addition to the shieldContent.

stateCode

The state code of the state the shield is in (second part of an ISO 3166-2 identifier).

countryCode

The country code (ISO 3166-1 alpha-3) of the country the shield is in.

languageCode

The language code of the road number as an IETF language tag, i.e., a dash-separated two-letter ISO-639 language code, and a two-letter ISO 3166 country code. Example: "en-US"

reference

Transparent identifier of the shield for use with TomTom's RoadShield API (see “Routing with Extended Guidance”). May be empty if the underlying data source does not support the mapping.