eurostat-map
    Preparing search index...

    Interface LocationLabelStyle

    Text label style for a location marker

    interface LocationLabelStyle {
        fontSize?: string;
        fontFamily?: string;
        fontWeight?: string | number;
        fill?: string;
        opacity?: number;
        haloColor?: string;
        haloWidth?: number;
        textAnchor?: "middle" | "end" | "start";
    }
    Index

    Properties

    fontSize?: string

    CSS font size.

    '12px'
    
    fontFamily?: string

    CSS font family.

    'inherit'
    
    fontWeight?: string | number

    CSS font weight.

    'normal'
    
    fill?: string

    Text fill color.

    '#222'
    
    opacity?: number

    Text opacity.

    1
    
    haloColor?: string

    Label halo color.

    '#fff'
    
    haloWidth?: number

    Label halo width in pixels.

    3
    
    textAnchor?: "middle" | "end" | "start"

    SVG text-anchor value.

    'start'