OptionallabelsArray of label objects with text and coordinates. Use eurostatmap.getDefaultLabels() to get predefined geographic labels.
OptionalvaluesShow statistical values as labels on regions.
OptionalhalosApply halo/shadow effect around labels for better readability.
OptionalshadowsLegacy alias for halos.
OptionalbackgroundsApply solid background rectangles behind labels. Takes precedence over halos when both are set.
OptionalbackgroundFill color for label background rectangles (CSS color string). Only applies when backgrounds is true.
OptionalscaleScale labels when zooming in/out.
OptionalvaluesCustom formatter function for statistical value labels.
OptionalstatFilter function to show/hide statistical value labels for specific regions.
GeoJSON feature object
Map instance
true to show label, false to hide
OptionalstatOverride default centroid positions for statistical value labels. Keys are region IDs (e.g., 'DE', 'FR01'), values are {x, y} coordinates.
OptionalprocessFunction to adjust calculated centroids for value labels.
GeoJSON feature object
Calculated centroid [x, y]
Adjusted centroid [x, y]
Configuration for map labels (country names, statistical values, etc.)