This is the documentation of version 1.0.0-rc.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias RoadShield

    A road shield, with extra information.

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

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

    roadNumber: InstructionText

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

    roadShieldReference?: RoadShieldReference

    What the client needs to build an image of the road shield with the TomTom RoadShield API. It is present if a road shield image is available for this road.

    stateCode?: string

    The state code of the state the shield is in (second part of an ISO 3166-2 identifier). It is present if state codes are available for the shield's country.