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

    Interface StateElementPolygon

    An area within points; the last point connects to the first one.

    interface StateElementPolygon {
        outlineStyle?: OutlineStyle;
        points: Position[];
        popup?: StatePopup;
        smooth?: boolean;
        style?: AreaStyle;
        type: "polygon";
    }
    Index
    outlineStyle?: OutlineStyle

    The outline: whether it is drawn, its color, width and dashes.

    points: Position[]

    3

    popup?: StatePopup
    smooth?: boolean

    Drawn as a smooth curve through the points, instead of straight from point to point.

    false
    
    style?: AreaStyle

    The area: its color (with its opacity) and pattern.

    type: "polygon"