This is the documentation of version 0.46.13. Go to the latest version, 1.0.0.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias RoadShield

    Road shield object containing extra information.

    type RoadShield = {
        countryCode: string;
        roadNumber: TextWithPhonetics;
        roadShieldReference?: RoadShieldReference;
        stateCode?: string;
    }
    Index

    Properties

    countryCode: string

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

    roadNumber: TextWithPhonetics

    The road number. Most road numbers have a 'letter' prefix, which is also returned.

    roadShieldReference?: RoadShieldReference

    Information allowing the client to build an image of the road shield using the TomTom RoadShield API. Included if instructionRoadShieldReferences was requested.

    stateCode?: string

    The state code of the state the shield is in (second part of an ISO 3166-2 identifier). Included if state codes are available for the country the road shield is located in.