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 AreaAnalyticsBeforeLayerConfig

    AreaAnalyticsBeforeLayerConfig: PartsBeforeLayerConfig<AreaAnalyticsDisplayMode>

    Where the area analytics layers sit in the map's layer stack.

    A single BeforeLayerConfig positions every display mode's layer; the record form positions them independently, keyed by AreaAnalyticsDisplayMode, all covering any it doesn't name. A mode neither names keeps its default: 'lowestLabel' for heatmap, hexgrid-2d and square-2d, 'lowestPlaceLabel' for hexgrid-3d and square-3d. The region boundary always sits below the map's labels.

    // Every mode on top of the map
    const config: TrafficAreaAnalyticsModuleConfig = { beforeLayerConfig: 'top' };

    // Flat modes below labels, extrusions below place labels
    const config: TrafficAreaAnalyticsModuleConfig = {
    beforeLayerConfig: { all: 'lowestLabel', 'hexgrid-3d': 'lowestPlaceLabel', 'square-3d': 'lowestPlaceLabel' },
    };