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

    Type Alias BaseMapRoadsConfig

    The parts of the roads BaseMapModule shows or hides on their own, finer than the layer groups: the granularity TomTom's style designers chose as toggle-worthy. Unset, a part is drawn as the style ships it.

    type BaseMapRoadsConfig = {
        arrows?: { visible?: boolean };
        exitNumbers?: { visible?: boolean };
        restricted?: { visible?: boolean };
        underConstruction?: { visible?: boolean };
    }
    Index
    arrows?: { visible?: boolean }

    One-way arrows drawn on roads, in roads.

    exitNumbers?: { visible?: boolean }

    Motorway exit number badges, in roadLabels.

    restricted?: { visible?: boolean }

    Dashed marking of roads with restricted access, in roads.

    underConstruction?: { visible?: boolean }

    Roads under construction, in roads.