RoadShield

constructor(fullRoadNumber: String, iconReference: IconReference?, shieldContent: String = "", affixes: List<String> = emptyList(), stateCode: String = "", countryCode: String = "")

Constructs a RoadShield object with the given parameters.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

fullRoadNumber

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

iconReference

Transparent identifier of the shield.

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 containing the shield (second part of an ISO 3166-2 identifier).

countryCode

The country code (ISO 3166-1 alpha-3) containing the shield.


constructor(fullRoadNumber: String, shieldContent: String = "", affixes: List<String> = emptyList(), stateCode: String = "", countryCode: 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 containing the shield (second part of an ISO 3166-2 identifier).

countryCode

The country code (ISO 3166-1 alpha-3) containing the shield.

reference

Transparent identifier of the shield which may be empty if the underlying data source does not support the mapping.