Allow additional map-type-specific properties and methods.
ID of the wrapper container element.
Map height in pixels. 0 = auto (85% of width).
Map title.
Map subtitle.
Footnote text shown at the bottom of the map. Defaults to the standard EuroGeographics copyright notice.
Tooltip text shown when hovering over the footnote.
Wrap footnote text at this many characters.
Get or set statistical data configuration.
map.stat() → returns the default stat configmap.stat(config) → sets the default stat configmap.stat('v1') → returns the stat config for key 'v1'map.stat('v1', config) → sets the stat config for key 'v1'Force-update the legend after data or style changes.
Get or set tooltip configuration.
Inset map configurations. Pass 'default' for the standard eurostat overseas territory insets, false to disable.
Show/hide the graticule (coordinate grid lines).
Show/hide the coastal margin shadow effect.
Coastal margin appearance settings.
Show/hide placename labels loaded from the placenames layer.
Geographic label configuration. See docs/reference.md#labelling
Annotation configuration for d3-svg-annotation.
Scalebar visibility.
Scalebar position [x, y] in pixels.
Show the Eurostat logo.
Show the Eurostat ribbon banner.
Called when the user finishes a zoom gesture.
Called continuously while the user is zooming.
Called when the pointer enters a NUTS region.
Called when the pointer moves over a NUTS region.
Called when the pointer leaves a NUTS region.
Called when a NUTS region is clicked.
Callback fired once after the map has fully built (geo + stat data loaded). Receives the map instance as its only argument.
Re-fetches geo data and rebuilds map geometry.
Re-fetches all stat datasets and refreshes the map.
Re-applies classification and styling from currently loaded data.
Updates data classification (class breaks, thresholds).
Re-applies visual styling (colors, symbol sizes).
Recalculates header/footer layout and resizes the SVG.
Exports the map as an SVG file and triggers a browser download. Computed CSS styles are inlined before export.
Exports the map as a PNG file and triggers a browser download.
Optionalwidth: numberOutput width in pixels. Defaults to SVG width.
Optionalheight: numberOutput height in pixels. Defaults to SVG height.
Sets map attributes from URL parameters. Supported params: w, h, x, y, z, s, lvl, time, proj, geo, ny, language, numberOfClasses
SVG filter/pattern definition function for fill patterns.
Returns region centroids as an array of projected coordinate pairs.
Get or set legend configuration. Pass false to remove the legend.
Get or set legend configuration. Pass false to remove the legend.
Enable Dorling cartogram layout for proportional symbol maps.
Enable Dorling cartogram layout for proportional symbol maps.
Bar map type.