@meridian/web-sdk
    Preparing search index...

    Interface CustomOverlayPolygon

    Object describing an SVG <polygon> element drawn on the map

    https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon

    interface CustomOverlayPolygon {
        animate?: SVGAttributes<SVGAnimateElement>;
        className?: string;
        data?: Record<string, any>;
        defs?: boolean;
        fill?: string;
        fillOpacity?: string | number;
        id?: string;
        markerEnd: string;
        markerMid: string;
        markerStart: string;
        onClick?: (data: Record<string, any>) => void;
        points: number[];
        stroke?: string;
        strokeDasharray?: string | number;
        strokeDashoffset?: string | number;
        strokeLineJoin?: "round" | "miter";
        strokeOpacity?: string | number;
        strokeWidth?: number;
        style?: CSSProperties;
        type: "polygon";
    }
    Index

    Properties

    animate?: SVGAttributes<SVGAnimateElement>
    className?: string
    data?: Record<string, any>

    Arbitrary data for use with onClick handler

    defs?: boolean

    true will result in the element being wrapped in a <defs> (default: false)

    https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs

    fill?: string
    fillOpacity?: string | number
    id?: string
    markerEnd: string
    markerMid: string
    markerStart: string
    onClick?: (data: Record<string, any>) => void
    points: number[]
    stroke?: string
    strokeDasharray?: string | number
    strokeDashoffset?: string | number
    strokeLineJoin?: "round" | "miter"
    strokeOpacity?: string | number
    strokeWidth?: number
    style?: CSSProperties
    type: "polygon"