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

    Interface CustomOverlayImage

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

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

    interface CustomOverlayImage {
        animate?: SVGAttributes<SVGAnimateElement>;
        animateMotion?: SVGAttributes<SVGAnimateMotionElement>;
        className?: string;
        data?: Record<string, any>;
        defs?: boolean;
        height: number;
        href: string;
        id?: string;
        mpath?: SVGMPathElement;
        onClick?: (data: Record<string, any>) => void;
        style?: CSSProperties;
        type: "image";
        width: number;
        x?: number;
        y?: number;
    }
    Index

    Properties

    animate?: SVGAttributes<SVGAnimateElement>
    animateMotion?: SVGAttributes<SVGAnimateMotionElement>
    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

    height: number
    href: string
    id?: string
    mpath?: SVGMPathElement
    onClick?: (data: Record<string, any>) => void
    style?: CSSProperties
    type: "image"
    width: number
    x?: number
    y?: number