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

    Type Alias ToBeAddedLayerSpecTemplate<L>

    ToBeAddedLayerSpecTemplate: LayerSpecTemplate<L> & HasBeforeID

    A layer specification with an optional position in the map's layer stack.

    Type Parameters

    • L extends LayerSpecification = LayerSpecification

      The MapLibre layer specification type (defaults to any LayerSpecification)

    The map renders layers from bottom to top. To insert the layer before (below) an existing layer, set beforeID to that layer's ID. If you omit beforeID, the layer goes on top of all existing layers.