eurostat-map
    Preparing search index...

    Interface MapConfig

    Base configuration for all map types. Each specific map type will extend this with its own properties, but these are the common ones that apply to all maps.

    interface MapConfig {
        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;
        [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