interface IconOptions {
    anchor?: [number, number];
    color?: string;
    p?: string;
    rotate?: number;
    shape?:
        | "circle"
        | "marker"
        | "rect"
        | "brill"
        | "star"
        | "triangle"
        | "plus"
        | "minus"
        | "asterisk";
    size?: number;
    stroke?: number;
    strokeColor?: string;
    svg?: string;
}

Properties

anchor?: [number, number]
color?: string
p?: string

Svg path

rotate?: number
shape?:
    | "circle"
    | "marker"
    | "rect"
    | "brill"
    | "star"
    | "triangle"
    | "plus"
    | "minus"
    | "asterisk"
size?: number
stroke?: number
strokeColor?: string
svg?: string