eurostat-map
    Preparing search index...

    Interface CategoricalMapConfig

    Configuration for categorical map

    interface CategoricalMapConfig {
        svgId?: string;
        containerId?: string;
        proj?: string;
        projectionFunction?: () => any;
        scale?: "60M" | "20M" | "10M" | "03M" | "01M";
        nutsLevel?: number;
        nutsYear?: string | number;
        geoCenter?: [number, number];
        pixSize?: number;
        geo?: string;
        width?: number;
        height?: number;
        title?: string;
        subtitle?: string;
        bottomText?: string;
        botTxtFontSize?: number;
        botTxtPadding?: number;
        botTxtTooltipMessage?: string;
        footnote?: string;
        source?: string;
        stat?: StatConfig;
        legend?: LegendConfig;
        tooltip?: TooltipConfig;
        insets?: InsetConfig[];
        zoomExtent?: [number, number];
        showBtns?: boolean;
        coastal?: boolean;
        coastalMarginWidth?: number;
        coastalMarginColor?: string;
        drawGraticule?: boolean;
        graticuleStyle?: any;
        borderWidth?: number;
        borderColor?: string;
        labelling?: boolean;
        labelSizeThreshold?: number;
        labelOpacity?: number;
        logoURL?: string;
        onBuild?: (map: MapInstance) => void;
        classToFillStyle?: Record<string, string>;
        noDataFillStyle?: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    svgId?: string
    containerId?: string
    proj?: string
    projectionFunction?: () => any
    scale?: "60M" | "20M" | "10M" | "03M" | "01M"
    nutsLevel?: number
    nutsYear?: string | number
    geoCenter?: [number, number]
    pixSize?: number
    geo?: string
    width?: number
    height?: number
    title?: string
    subtitle?: string
    bottomText?: string
    botTxtFontSize?: number
    botTxtPadding?: number
    botTxtTooltipMessage?: string
    footnote?: string
    source?: string
    stat?: StatConfig
    legend?: LegendConfig
    tooltip?: TooltipConfig
    insets?: InsetConfig[]
    zoomExtent?: [number, number]
    showBtns?: boolean
    coastal?: boolean
    coastalMarginWidth?: number
    coastalMarginColor?: string
    drawGraticule?: boolean
    graticuleStyle?: any
    borderWidth?: number
    borderColor?: string
    labelling?: boolean
    labelSizeThreshold?: number
    labelOpacity?: number
    logoURL?: string
    onBuild?: (map: MapInstance) => void
    classToFillStyle?: Record<string, string>

    Category-to-color mapping

    noDataFillStyle?: string

    Fill style for regions with no data