Interface CustomOverlayUse

Object describing an SVG <use> element drawn on the map.

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

interface CustomOverlayUse {
    animate?: SVGAttributes<SVGAnimateElement>;
    animateMotion?: SVGAttributes<SVGAnimateMotionElement>;
    className?: string;
    defs?: boolean;
    fill?: string;
    height: number;
    href: string;
    id?: string;
    mpath?: SVGMPathElement;
    stroke?: string;
    strokeDasharray?: string | number;
    strokeDashoffset?: string | number;
    strokeLineCap?: "square" | "butt" | "round";
    strokeLineJoin?: "round" | "miter";
    strokeOpacity?: string | number;
    strokeWidth?: number;
    style?: CSSProperties;
    type: "use";
    width: number;
    x?: number;
    y?: number;
}

Properties

animate?: SVGAttributes<SVGAnimateElement>
animateMotion?: SVGAttributes<SVGAnimateMotionElement>
className?: string
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
height: number
href: string
id?: string
mpath?: SVGMPathElement
stroke?: string
strokeDasharray?: string | number
strokeDashoffset?: string | number
strokeLineCap?: "square" | "butt" | "round"
strokeLineJoin?: "round" | "miter"
strokeOpacity?: string | number
strokeWidth?: number
style?: CSSProperties
type: "use"
width: number
x?: number
y?: number