@versatiles/map-state
    Preparing search index...

    Interface MarkerStyle

    The style of a marker: its symbol, and the look of its label. Missing fields have their default.

    interface MarkerStyle {
        color?: string;
        flat?: boolean;
        haloColor?: string;
        haloWidth?: number;
        labelColor?: string;
        labelFont?: string;
        labelPosition?:
            | "auto"
            | "right"
            | "left"
            | "top"
            | "bottom"
            | "top-right"
            | "top-left"
            | "bottom-right"
            | "bottom-left";
        labelSize?: number;
        rotation?: number;
        size?: number;
        symbol?: string;
    }
    Index
    color?: string

    The color of the symbol, with its opacity.

    "#ff0000"
    
    flat?: boolean

    The marker lies flat on the map, its symbol and its label: on a map that is rotated or tilted, it turns and tilts with the map, so e.g. an arrow keeps its compass direction, and the positions of the label are compass directions. Else it stands upright and faces the viewer, however the map is turned.

    false
    
    haloColor?: string

    The color of the halo around the symbol and the label.

    "#ffffff"
    
    haloWidth?: number

    The width of the halo around the symbol and the label, in pixels.

    0

    1000

    1
    
    labelColor?: string

    The color of the text of the label.

    "#000000"
    
    labelFont?: string

    The glyph font of the label, e.g. "noto_sans_bold"; "" for the font of the labels of the background map.

    ""
    
    labelPosition?:
        | "auto"
        | "right"
        | "left"
        | "top"
        | "bottom"
        | "top-right"
        | "top-left"
        | "bottom-right"
        | "bottom-left"

    The position of the label around the symbol; "auto" where it fits, or on the point without a symbol.

    "auto"
    
    labelSize?: number

    The size of the label, as a factor of 16 pixels.

    0

    100

    1
    
    rotation?: number

    The rotation of the symbol, in whole degrees clockwise, above -180 and up to 180.

    integer

    -180

    180

    0
    
    size?: number

    The size of the symbol, as a factor.

    0

    100

    1
    
    symbol?: string

    The image of the symbol, e.g. "icons:anchor", or "" for none.

    "extras:pin-teardrop"