eurostat-map 4.10.12 → 4.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/package.json
CHANGED
|
@@ -84,6 +84,14 @@ export interface LabelsConfig {
|
|
|
84
84
|
*/
|
|
85
85
|
scaleOnZoom?: boolean
|
|
86
86
|
|
|
87
|
+
/**
|
|
88
|
+
* Nudge geographic labels (country names/codes/seas) apart using a force-collision
|
|
89
|
+
* simulation so neighbouring labels don't overlap. Does not affect statistical value
|
|
90
|
+
* labels, which are positioned at region centroids.
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
preventOverlap?: boolean
|
|
94
|
+
|
|
87
95
|
/**
|
|
88
96
|
* Custom formatter function for statistical value labels.
|
|
89
97
|
* @example (value) => value.toFixed(1) + '%'
|
package/package.json
CHANGED