@versatiles/map-state
    Preparing search index...

    Interface AreaStyle

    The style of an area (of a polygon or a circle): its color and pattern. Missing fields have their default.

    interface AreaStyle {
        color?: string;
        pattern?:
            | "solid"
            | "diagonal-up"
            | "diagonal-down"
            | "horizontal"
            | "vertical"
            | "cross"
            | "diagonal-cross"
            | "dots"
            | "diagonal-dots";
        patternCoverage?: number;
        patternScale?: number;
    }
    Index
    color?: string

    The color of the area, with its opacity.

    "#ff000040"
    
    pattern?:
        | "solid"
        | "diagonal-up"
        | "diagonal-down"
        | "horizontal"
        | "vertical"
        | "cross"
        | "diagonal-cross"
        | "dots"
        | "diagonal-dots"

    The pattern of the fill.

    "solid"
    
    patternCoverage?: number

    The share of the area that the lines or dots of the pattern cover, from 0.05 to 0.95. Only with a pattern.

    0.05

    0.95

    0.5
    
    patternScale?: number

    The size of the pattern, as a factor; at 1 the lines (across them) or the dots are 8 pixels apart. Only with a pattern.

    0.5

    4

    1