Interface CustomOverlayPolyline

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

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

interface CustomOverlayPolyline {
    animate?: SVGAttributes<SVGAnimateElement>;
    className?: string;
    defs?: boolean;
    fill?: string;
    fillOpacity?: string | number;
    id?: string;
    markerEnd: string;
    markerMid: string;
    markerStart: string;
    points: number[];
    stroke?: string;
    strokeDasharray?: string | number;
    strokeDashoffset?: string | number;
    strokeLineCap?: "square" | "butt" | "round";
    strokeLineJoin?: "round" | "miter";
    strokeOpacity?: string | number;
    strokeWidth?: number;
    style?: CSSProperties;
    type: "polyline";
}

Properties

animate?: SVGAttributes<SVGAnimateElement>
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
fillOpacity?: string | number
id?: string
markerEnd: string
markerMid: string
markerStart: string
points: number[]
stroke?: string
strokeDasharray?: string | number
strokeDashoffset?: string | number
strokeLineCap?: "square" | "butt" | "round"
strokeLineJoin?: "round" | "miter"
strokeOpacity?: string | number
strokeWidth?: number
style?: CSSProperties
type: "polyline"