@undp/data-viz 2.3.14 → 2.3.16
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/dist/BiVariateChoroplethMap.cjs +1 -1
- package/dist/BiVariateChoroplethMap.cjs.map +1 -1
- package/dist/BiVariateChoroplethMap.d.ts +10 -1
- package/dist/BiVariateChoroplethMap.js +331 -298
- package/dist/BiVariateChoroplethMap.js.map +1 -1
- package/dist/ChoroplethMap.cjs +1 -1
- package/dist/ChoroplethMap.cjs.map +1 -1
- package/dist/ChoroplethMap.d.ts +10 -1
- package/dist/ChoroplethMap.js +359 -326
- package/dist/ChoroplethMap.js.map +1 -1
- package/dist/Data/data.json +2627 -0
- package/dist/Data/testMap.json +1 -361
- package/dist/DotDensityMap.cjs +1 -1
- package/dist/DotDensityMap.cjs.map +1 -1
- package/dist/DotDensityMap.d.ts +10 -1
- package/dist/DotDensityMap.js +319 -286
- package/dist/DotDensityMap.js.map +1 -1
- package/dist/{GraphEl-Bb5oGHoa.js → GraphEl-CnJf8b50.js} +11 -5
- package/dist/GraphEl-CnJf8b50.js.map +1 -0
- package/dist/GraphEl-D_w0Qak4.cjs +2 -0
- package/dist/GraphEl-D_w0Qak4.cjs.map +1 -0
- package/dist/GriddedGraphs.cjs +1 -1
- package/dist/GriddedGraphs.d.ts +11 -1
- package/dist/GriddedGraphs.js +1 -1
- package/dist/GriddedGraphsFromConfig.d.ts +11 -1
- package/dist/HybridMap.cjs +1 -1
- package/dist/HybridMap.cjs.map +1 -1
- package/dist/HybridMap.d.ts +10 -1
- package/dist/HybridMap.js +416 -382
- package/dist/HybridMap.js.map +1 -1
- package/dist/MultiGraphDashboard.d.ts +11 -1
- package/dist/MultiGraphDashboardFromConfig.d.ts +11 -1
- package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +11 -1
- package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +11 -1
- package/dist/PerformanceIntensiveScrollStory.d.ts +11 -1
- package/dist/ScatterPlot.cjs +1 -1
- package/dist/ScatterPlot.cjs.map +1 -1
- package/dist/ScatterPlot.d.ts +4 -0
- package/dist/ScatterPlot.js +401 -400
- package/dist/ScatterPlot.js.map +1 -1
- package/dist/ScrollStory.d.ts +11 -1
- package/dist/SingleGraphDashboard.cjs +1 -1
- package/dist/SingleGraphDashboard.d.ts +11 -1
- package/dist/SingleGraphDashboard.js +1 -1
- package/dist/SingleGraphDashboardFromConfig.d.ts +11 -1
- package/dist/SingleGraphDashboardGeoHubMaps.d.ts +11 -1
- package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +11 -1
- package/dist/SingleGraphDashboardThreeDGraphs.d.ts +11 -1
- package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +11 -1
- package/dist/Types.d.ts +12 -1
- package/dist/index.d.ts +27 -5
- package/package.json +1 -1
- package/dist/GraphEl-Bb5oGHoa.js.map +0 -1
- package/dist/GraphEl-BerZfJ3j.cjs +0 -2
- package/dist/GraphEl-BerZfJ3j.cjs.map +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FeatureCollection } from 'geojson';
|
|
1
2
|
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
|
|
3
4
|
declare interface AdvancedDataSelectionDataType {
|
|
@@ -273,7 +274,7 @@ declare interface GraphSettingsDataType {
|
|
|
273
274
|
showColorLegendAtTop?: boolean;
|
|
274
275
|
highlightedLines?: (string | number)[];
|
|
275
276
|
area?: boolean;
|
|
276
|
-
mapData?:
|
|
277
|
+
mapData?: FeatureCollection | string;
|
|
277
278
|
xColorLegendTitle?: string;
|
|
278
279
|
yColorLegendTitle?: string;
|
|
279
280
|
xDomain?: [number, number, number, number];
|
|
@@ -467,6 +468,9 @@ declare interface GraphSettingsDataType {
|
|
|
467
468
|
rewindCoordinatesInMapData?: boolean;
|
|
468
469
|
circularBoundary?: boolean;
|
|
469
470
|
showDataMinMax?: boolean;
|
|
471
|
+
showVoronoiTesselation?: boolean;
|
|
472
|
+
mapOverlay?: MapOverlayDataType;
|
|
473
|
+
useVoronoiInteraction?: boolean;
|
|
470
474
|
}
|
|
471
475
|
|
|
472
476
|
declare type GraphType = GraphTypeForGriddedGraph;
|
|
@@ -506,6 +510,12 @@ declare interface MapLegendDataType {
|
|
|
506
510
|
legend: string | React.ReactNode;
|
|
507
511
|
}
|
|
508
512
|
|
|
513
|
+
declare interface MapOverlayDataType {
|
|
514
|
+
mapData: FeatureCollection | string;
|
|
515
|
+
mapBorderWidth?: number;
|
|
516
|
+
mapBorderColor?: string;
|
|
517
|
+
}
|
|
518
|
+
|
|
509
519
|
declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
|
|
510
520
|
|
|
511
521
|
declare interface PointLightConfig extends BaseLightConfig {
|
|
@@ -7,7 +7,7 @@ import { j as V, D as M } from "./DropdownSelect-B2WTeedJ.js";
|
|
|
7
7
|
import { b as A, y as H, h as O, c as da, $ as K, P as Q } from "./checkIfMultiple-B97uOUVq.js";
|
|
8
8
|
import { w as ha } from "./Spinner-CtJETd5V.js";
|
|
9
9
|
import { G as ca } from "./GraphContainer-DwMxWRCi.js";
|
|
10
|
-
import { G as fa } from "./GraphEl-
|
|
10
|
+
import { G as fa } from "./GraphEl-CnJf8b50.js";
|
|
11
11
|
import { f as ga, a as pa, b as ma, c as Ca, t as va } from "./fetchAndParseData-BAXhgTDM.js";
|
|
12
12
|
import { a as Ia, t as ba } from "./transformDataForAggregation-wdPf8bNt.js";
|
|
13
13
|
import { g as X } from "./getUniqValue-DsqSii6M.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FeatureCollection } from 'geojson';
|
|
1
2
|
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
|
|
3
4
|
declare interface AdvancedDataSelectionDataType {
|
|
@@ -296,7 +297,7 @@ declare interface GraphSettingsDataType {
|
|
|
296
297
|
showColorLegendAtTop?: boolean;
|
|
297
298
|
highlightedLines?: (string | number)[];
|
|
298
299
|
area?: boolean;
|
|
299
|
-
mapData?:
|
|
300
|
+
mapData?: FeatureCollection | string;
|
|
300
301
|
xColorLegendTitle?: string;
|
|
301
302
|
yColorLegendTitle?: string;
|
|
302
303
|
xDomain?: [number, number, number, number];
|
|
@@ -490,6 +491,9 @@ declare interface GraphSettingsDataType {
|
|
|
490
491
|
rewindCoordinatesInMapData?: boolean;
|
|
491
492
|
circularBoundary?: boolean;
|
|
492
493
|
showDataMinMax?: boolean;
|
|
494
|
+
showVoronoiTesselation?: boolean;
|
|
495
|
+
mapOverlay?: MapOverlayDataType;
|
|
496
|
+
useVoronoiInteraction?: boolean;
|
|
493
497
|
}
|
|
494
498
|
|
|
495
499
|
declare type GraphType = GraphTypeForGriddedGraph;
|
|
@@ -529,6 +533,12 @@ declare interface MapLegendDataType {
|
|
|
529
533
|
legend: string | React.ReactNode;
|
|
530
534
|
}
|
|
531
535
|
|
|
536
|
+
declare interface MapOverlayDataType {
|
|
537
|
+
mapData: FeatureCollection | string;
|
|
538
|
+
mapBorderWidth?: number;
|
|
539
|
+
mapBorderColor?: string;
|
|
540
|
+
}
|
|
541
|
+
|
|
532
542
|
declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
|
|
533
543
|
|
|
534
544
|
declare interface PointLightConfig extends BaseLightConfig {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FeatureCollection } from 'geojson';
|
|
1
2
|
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
|
|
3
4
|
declare interface AmbientLightConfig extends BaseLightConfig {
|
|
@@ -187,7 +188,7 @@ declare interface GraphSettingsDataType {
|
|
|
187
188
|
showColorLegendAtTop?: boolean;
|
|
188
189
|
highlightedLines?: (string | number)[];
|
|
189
190
|
area?: boolean;
|
|
190
|
-
mapData?:
|
|
191
|
+
mapData?: FeatureCollection | string;
|
|
191
192
|
xColorLegendTitle?: string;
|
|
192
193
|
yColorLegendTitle?: string;
|
|
193
194
|
xDomain?: [number, number, number, number];
|
|
@@ -381,6 +382,9 @@ declare interface GraphSettingsDataType {
|
|
|
381
382
|
rewindCoordinatesInMapData?: boolean;
|
|
382
383
|
circularBoundary?: boolean;
|
|
383
384
|
showDataMinMax?: boolean;
|
|
385
|
+
showVoronoiTesselation?: boolean;
|
|
386
|
+
mapOverlay?: MapOverlayDataType;
|
|
387
|
+
useVoronoiInteraction?: boolean;
|
|
384
388
|
}
|
|
385
389
|
|
|
386
390
|
declare interface HighlightAreaSettingsDataType {
|
|
@@ -408,6 +412,12 @@ declare interface MapLegendDataType {
|
|
|
408
412
|
legend: string | React.ReactNode;
|
|
409
413
|
}
|
|
410
414
|
|
|
415
|
+
declare interface MapOverlayDataType {
|
|
416
|
+
mapData: FeatureCollection | string;
|
|
417
|
+
mapBorderWidth?: number;
|
|
418
|
+
mapBorderColor?: string;
|
|
419
|
+
}
|
|
420
|
+
|
|
411
421
|
declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
|
|
412
422
|
|
|
413
423
|
declare interface PointLightConfig extends BaseLightConfig {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FeatureCollection } from 'geojson';
|
|
1
2
|
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
|
|
3
4
|
declare interface AmbientLightConfig extends BaseLightConfig {
|
|
@@ -194,7 +195,7 @@ declare interface GraphSettingsDataType {
|
|
|
194
195
|
showColorLegendAtTop?: boolean;
|
|
195
196
|
highlightedLines?: (string | number)[];
|
|
196
197
|
area?: boolean;
|
|
197
|
-
mapData?:
|
|
198
|
+
mapData?: FeatureCollection | string;
|
|
198
199
|
xColorLegendTitle?: string;
|
|
199
200
|
yColorLegendTitle?: string;
|
|
200
201
|
xDomain?: [number, number, number, number];
|
|
@@ -388,6 +389,9 @@ declare interface GraphSettingsDataType {
|
|
|
388
389
|
rewindCoordinatesInMapData?: boolean;
|
|
389
390
|
circularBoundary?: boolean;
|
|
390
391
|
showDataMinMax?: boolean;
|
|
392
|
+
showVoronoiTesselation?: boolean;
|
|
393
|
+
mapOverlay?: MapOverlayDataType;
|
|
394
|
+
useVoronoiInteraction?: boolean;
|
|
391
395
|
}
|
|
392
396
|
|
|
393
397
|
declare interface HighlightAreaSettingsDataType {
|
|
@@ -415,6 +419,12 @@ declare interface MapLegendDataType {
|
|
|
415
419
|
legend: string | React.ReactNode;
|
|
416
420
|
}
|
|
417
421
|
|
|
422
|
+
declare interface MapOverlayDataType {
|
|
423
|
+
mapData: FeatureCollection | string;
|
|
424
|
+
mapBorderWidth?: number;
|
|
425
|
+
mapBorderColor?: string;
|
|
426
|
+
}
|
|
427
|
+
|
|
418
428
|
declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
|
|
419
429
|
|
|
420
430
|
declare interface PointLightConfig extends BaseLightConfig {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FeatureCollection } from 'geojson';
|
|
1
2
|
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
|
|
3
4
|
declare interface AdvancedDataSelectionDataType {
|
|
@@ -273,7 +274,7 @@ declare interface GraphSettingsDataType {
|
|
|
273
274
|
showColorLegendAtTop?: boolean;
|
|
274
275
|
highlightedLines?: (string | number)[];
|
|
275
276
|
area?: boolean;
|
|
276
|
-
mapData?:
|
|
277
|
+
mapData?: FeatureCollection | string;
|
|
277
278
|
xColorLegendTitle?: string;
|
|
278
279
|
yColorLegendTitle?: string;
|
|
279
280
|
xDomain?: [number, number, number, number];
|
|
@@ -467,6 +468,9 @@ declare interface GraphSettingsDataType {
|
|
|
467
468
|
rewindCoordinatesInMapData?: boolean;
|
|
468
469
|
circularBoundary?: boolean;
|
|
469
470
|
showDataMinMax?: boolean;
|
|
471
|
+
showVoronoiTesselation?: boolean;
|
|
472
|
+
mapOverlay?: MapOverlayDataType;
|
|
473
|
+
useVoronoiInteraction?: boolean;
|
|
470
474
|
}
|
|
471
475
|
|
|
472
476
|
declare interface HighlightAreaSettingsDataType {
|
|
@@ -502,6 +506,12 @@ declare interface MapLegendDataType {
|
|
|
502
506
|
legend: string | React.ReactNode;
|
|
503
507
|
}
|
|
504
508
|
|
|
509
|
+
declare interface MapOverlayDataType {
|
|
510
|
+
mapData: FeatureCollection | string;
|
|
511
|
+
mapBorderWidth?: number;
|
|
512
|
+
mapBorderColor?: string;
|
|
513
|
+
}
|
|
514
|
+
|
|
505
515
|
declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
|
|
506
516
|
|
|
507
517
|
declare interface PointLightConfig extends BaseLightConfig {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FeatureCollection } from 'geojson';
|
|
1
2
|
import { JSX } from 'react/jsx-runtime';
|
|
2
3
|
|
|
3
4
|
declare interface AdvancedDataSelectionDataType {
|
|
@@ -296,7 +297,7 @@ declare interface GraphSettingsDataType {
|
|
|
296
297
|
showColorLegendAtTop?: boolean;
|
|
297
298
|
highlightedLines?: (string | number)[];
|
|
298
299
|
area?: boolean;
|
|
299
|
-
mapData?:
|
|
300
|
+
mapData?: FeatureCollection | string;
|
|
300
301
|
xColorLegendTitle?: string;
|
|
301
302
|
yColorLegendTitle?: string;
|
|
302
303
|
xDomain?: [number, number, number, number];
|
|
@@ -490,6 +491,9 @@ declare interface GraphSettingsDataType {
|
|
|
490
491
|
rewindCoordinatesInMapData?: boolean;
|
|
491
492
|
circularBoundary?: boolean;
|
|
492
493
|
showDataMinMax?: boolean;
|
|
494
|
+
showVoronoiTesselation?: boolean;
|
|
495
|
+
mapOverlay?: MapOverlayDataType;
|
|
496
|
+
useVoronoiInteraction?: boolean;
|
|
493
497
|
}
|
|
494
498
|
|
|
495
499
|
declare interface HighlightAreaSettingsDataType {
|
|
@@ -525,6 +529,12 @@ declare interface MapLegendDataType {
|
|
|
525
529
|
legend: string | React.ReactNode;
|
|
526
530
|
}
|
|
527
531
|
|
|
532
|
+
declare interface MapOverlayDataType {
|
|
533
|
+
mapData: FeatureCollection | string;
|
|
534
|
+
mapBorderWidth?: number;
|
|
535
|
+
mapBorderColor?: string;
|
|
536
|
+
}
|
|
537
|
+
|
|
528
538
|
declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
|
|
529
539
|
|
|
530
540
|
declare interface PointLightConfig extends BaseLightConfig {
|
package/dist/Types.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { FeatureCollection } from 'geojson';
|
|
2
|
+
|
|
1
3
|
export declare interface AdvancedDataSelectionDataType {
|
|
2
4
|
label?: string;
|
|
3
5
|
options: {
|
|
@@ -480,7 +482,7 @@ export declare interface GraphSettingsDataType {
|
|
|
480
482
|
showColorLegendAtTop?: boolean;
|
|
481
483
|
highlightedLines?: (string | number)[];
|
|
482
484
|
area?: boolean;
|
|
483
|
-
mapData?:
|
|
485
|
+
mapData?: FeatureCollection | string;
|
|
484
486
|
xColorLegendTitle?: string;
|
|
485
487
|
yColorLegendTitle?: string;
|
|
486
488
|
xDomain?: [number, number, number, number];
|
|
@@ -674,6 +676,9 @@ export declare interface GraphSettingsDataType {
|
|
|
674
676
|
rewindCoordinatesInMapData?: boolean;
|
|
675
677
|
circularBoundary?: boolean;
|
|
676
678
|
showDataMinMax?: boolean;
|
|
679
|
+
showVoronoiTesselation?: boolean;
|
|
680
|
+
mapOverlay?: MapOverlayDataType;
|
|
681
|
+
useVoronoiInteraction?: boolean;
|
|
677
682
|
}
|
|
678
683
|
|
|
679
684
|
export declare type GraphType = GraphTypeForGriddedGraph;
|
|
@@ -762,6 +767,12 @@ export declare interface MapLegendDataType {
|
|
|
762
767
|
legend: string | React.ReactNode;
|
|
763
768
|
}
|
|
764
769
|
|
|
770
|
+
export declare interface MapOverlayDataType {
|
|
771
|
+
mapData: FeatureCollection | string;
|
|
772
|
+
mapBorderWidth?: number;
|
|
773
|
+
mapBorderColor?: string;
|
|
774
|
+
}
|
|
775
|
+
|
|
765
776
|
export declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
|
|
766
777
|
|
|
767
778
|
export declare interface MarginDataType {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
import { Feature } from 'geojson';
|
|
3
|
+
import { FeatureCollection } from 'geojson';
|
|
3
4
|
import { GeoJsonProperties } from 'geojson';
|
|
4
5
|
import { JSX } from 'react/jsx-runtime';
|
|
5
6
|
import { JSX as JSX_2 } from 'react';
|
|
@@ -1039,7 +1040,7 @@ declare interface GraphSettingsDataType {
|
|
|
1039
1040
|
showColorLegendAtTop?: boolean;
|
|
1040
1041
|
highlightedLines?: (string | number)[];
|
|
1041
1042
|
area?: boolean;
|
|
1042
|
-
mapData?:
|
|
1043
|
+
mapData?: FeatureCollection | string;
|
|
1043
1044
|
xColorLegendTitle?: string;
|
|
1044
1045
|
yColorLegendTitle?: string;
|
|
1045
1046
|
xDomain?: [number, number, number, number];
|
|
@@ -1233,6 +1234,9 @@ declare interface GraphSettingsDataType {
|
|
|
1233
1234
|
rewindCoordinatesInMapData?: boolean;
|
|
1234
1235
|
circularBoundary?: boolean;
|
|
1235
1236
|
showDataMinMax?: boolean;
|
|
1237
|
+
showVoronoiTesselation?: boolean;
|
|
1238
|
+
mapOverlay?: MapOverlayDataType;
|
|
1239
|
+
useVoronoiInteraction?: boolean;
|
|
1236
1240
|
}
|
|
1237
1241
|
|
|
1238
1242
|
export declare function GraphTitle(props: Props_68): JSX.Element | null;
|
|
@@ -1478,6 +1482,12 @@ declare interface MapLegendDataType {
|
|
|
1478
1482
|
legend: string | React.ReactNode;
|
|
1479
1483
|
}
|
|
1480
1484
|
|
|
1485
|
+
declare interface MapOverlayDataType {
|
|
1486
|
+
mapData: FeatureCollection | string;
|
|
1487
|
+
mapBorderWidth?: number;
|
|
1488
|
+
mapBorderColor?: string;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1481
1491
|
declare type MapProjectionTypes = 'mercator' | 'equalEarth' | 'naturalEarth' | 'orthographic' | 'albersUSA';
|
|
1482
1492
|
|
|
1483
1493
|
export declare function MultiGraphDashboard(props: Props_39): JSX.Element;
|
|
@@ -2037,7 +2047,9 @@ declare interface Props_13 {
|
|
|
2037
2047
|
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
2038
2048
|
padding?: string;
|
|
2039
2049
|
/** Map data as an object in geoJson format or a url for geoJson */
|
|
2040
|
-
mapData?:
|
|
2050
|
+
mapData?: FeatureCollection | string;
|
|
2051
|
+
/** Detail if any other map needs to be overlayed over the main map */
|
|
2052
|
+
mapOverlay?: MapOverlayDataType;
|
|
2041
2053
|
/** Defines if the coordinates in the map data should be rewinded or not. Try to change this is the visualization shows countries as holes instead of shapes. */
|
|
2042
2054
|
rewindCoordinatesInMapData?: boolean;
|
|
2043
2055
|
/** Scaling factor for the map. Multiplies the scale number to scale. */
|
|
@@ -2140,7 +2152,9 @@ declare interface Props_14 {
|
|
|
2140
2152
|
/** Padding around the graph. Defaults to 0 if no backgroundColor is mentioned else defaults to 1rem */
|
|
2141
2153
|
padding?: string;
|
|
2142
2154
|
/** Map data as an object in geoJson format or a url for geoJson */
|
|
2143
|
-
mapData?:
|
|
2155
|
+
mapData?: FeatureCollection | string;
|
|
2156
|
+
/** Detail if any other map needs to be overlayed over the main map */
|
|
2157
|
+
mapOverlay?: MapOverlayDataType;
|
|
2144
2158
|
/** Defines if the coordinates in the map data should be rewinded or not. Try to change this is the visualization shows countries as holes instead of shapes. */
|
|
2145
2159
|
rewindCoordinatesInMapData?: boolean;
|
|
2146
2160
|
/** Scaling factor for the map. Multiplies the scale number to scale. */
|
|
@@ -2247,7 +2261,9 @@ declare interface Props_15 {
|
|
|
2247
2261
|
/** Maximum radius of the circle */
|
|
2248
2262
|
radius?: number;
|
|
2249
2263
|
/** Map data as an object in geoJson format or a url for geoJson */
|
|
2250
|
-
mapData?:
|
|
2264
|
+
mapData?: FeatureCollection | string;
|
|
2265
|
+
/** Detail if any other map needs to be overlayed over the main map */
|
|
2266
|
+
mapOverlay?: MapOverlayDataType;
|
|
2251
2267
|
/** Defines if the coordinates in the map data should be rewinded or not. Try to change this is the visualization shows countries as holes instead of shapes. */
|
|
2252
2268
|
rewindCoordinatesInMapData?: boolean;
|
|
2253
2269
|
/** Scaling factor for the map. Multiplies the scale number to scale. */
|
|
@@ -2354,7 +2370,9 @@ declare interface Props_16 {
|
|
|
2354
2370
|
/** Maximum radius of the circle */
|
|
2355
2371
|
radius?: number;
|
|
2356
2372
|
/** Map data as an object in geoJson format or a url for geoJson */
|
|
2357
|
-
mapData?:
|
|
2373
|
+
mapData?: FeatureCollection | string;
|
|
2374
|
+
/** Detail if any other map needs to be overlayed over the main map */
|
|
2375
|
+
mapOverlay?: MapOverlayDataType;
|
|
2358
2376
|
/** Defines if the coordinates in the map data should be rewinded or not. Try to change this is the visualization shows countries as holes instead of shapes. */
|
|
2359
2377
|
rewindCoordinatesInMapData?: boolean;
|
|
2360
2378
|
/** Scaling factor for the map. Multiplies the scale number to scale. */
|
|
@@ -2879,6 +2897,10 @@ declare interface Props_21 {
|
|
|
2879
2897
|
dataDownload?: boolean;
|
|
2880
2898
|
/** Reset selection on double-click. Only applicable when used in a dashboard context with filters. */
|
|
2881
2899
|
resetSelectionOnDoubleClick?: boolean;
|
|
2900
|
+
/** Toggle interaction of Voronoi cells */
|
|
2901
|
+
useVoronoiInteraction?: boolean;
|
|
2902
|
+
/** Toggle visibility of Voronoi tesselation. Should be used for debugging only */
|
|
2903
|
+
showVoronoiTesselation?: boolean;
|
|
2882
2904
|
/** Tooltip content. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
|
|
2883
2905
|
tooltip?: string | ((_d: any) => React.ReactNode);
|
|
2884
2906
|
/** Details displayed on the modal when user clicks of a data point. If the type is string then this uses the [handlebar](../?path=/docs/misc-handlebars-templates-and-custom-helpers--docs) template to display the data */
|