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

    Type Alias AreaAnalyticsRegionFillConfig

    The fill of the area analytics region.

    type AreaAnalyticsRegionFillConfig = {
        opacity?: number;
        style?: Extract<GeometryFillStyle, "filled" | "inverted">;
    }
    Index
    opacity?: number

    Opacity of the fill.

    0
    
    style?: Extract<GeometryFillStyle, "filled" | "inverted">

    'filled' fills the region itself. 'inverted' fills everything outside it instead, tinting the world around the analytics region, as the GeometriesModule fill style of the same name does. The fill's opacity defaults to 0, so the tint shows only once you raise it.

    'filled'