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 original region polygon (the area the query was run for) is also rendered. Use this config to control its appearance.

    type AreaAnalyticsRegionPolygonConfig = {
        color?: string;
        fillOpacity?: number;
        inverted?: boolean;
        outlineOpacity?: number;
        outlineWidth?: number;
    }
    Index

    Properties

    color?: string

    Color used for both the fill and outline of the region boundary.

    '#000000'
    
    fillOpacity?: number

    Opacity of the region fill.

    0
    
    inverted?: boolean

    When true, renders the region as an overlay covering everything outside the polygon boundary, effectively tinting the area outside the analytics region.

    Uses a world-minus-polygon donut geometry (same technique as the GeometriesModule 'inverted' theme).

    false
    
    outlineOpacity?: number

    Opacity of the region outline.

    0.5
    
    outlineWidth?: number

    Width of the region outline in pixels.

    2