TomTom Maps for JavaScript
    Preparing search index...

    Variable defaultRoutingLayersConst

    defaultRoutingLayers: Required<RouteLayersConfig> = ...

    The layers RoutingModule draws with its default configuration, on a light style that no theme or knob has recoloured.

    It covers the route lines, waypoints, sections, guidance lines, summary bubbles, border crossings and the section focus rings. A generated section type's icon layer is not among them: it exists only once sections.<type>.icon.image is set. Read it to find a layer's name and what it paints by default, not to spread into RoutingModuleConfig.layers, which says why.

    The module builds its own layers per map, so on a dark style, under a theme or with a map typeface, the colours and fonts it draws differ from these.