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

    Type Alias AreaAnalyticsRegionPolygonConfig

    Display configuration for the actual region boundary geometry.

    When area analytics data is shown, the module also renders the original region polygon (the area the query was run for). This config controls its appearance.

    type AreaAnalyticsRegionPolygonConfig = {
        color?: string;
        fill?: AreaAnalyticsRegionFillConfig;
        line?: AreaAnalyticsRegionLineConfig;
    }
    Index
    color?: string

    CSS colour used for both the fill and line of the region boundary.

    When omitted, the colour follows TomTomMap.styleLightDarkTheme.

    Black (#000000) on light styles, white (#FFFFFF) on dark styles

    The region's fill.

    The region's boundary line.