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

    Type Alias PlaceConnectionsLayersConfig

    MapLibre layer customization for connection lines and labels.

    Each layer ID is the PlacesModule instance prefix plus the key suffix:

    • line - The connection line, dashed by default.
    • label - The text label along the line.
    type PlaceConnectionsLayersConfig = {
        label?: Partial<ToBeAddedLayerSpecTemplate<SymbolLayerSpecification>>;
        line?: Partial<ToBeAddedLayerSpecTemplate<LineLayerSpecification>>;
    }
    Index
    label?: Partial<ToBeAddedLayerSpecTemplate<SymbolLayerSpecification>>

    Connection label layer specification.

    line?: Partial<ToBeAddedLayerSpecTemplate<LineLayerSpecification>>

    Connection line layer specification.