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 -connection- and the key:

    • line - <prefix>-connection-line, the connection line, dashed by default.
    • label - <prefix>-connection-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.