@kepler.gl/types 3.1.1 → 3.1.3
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/package.json +1 -1
- package/reducers.d.ts +12 -0
package/package.json
CHANGED
package/reducers.d.ts
CHANGED
|
@@ -415,8 +415,20 @@ export type MapControlItem = {
|
|
|
415
415
|
disableClose?: boolean;
|
|
416
416
|
activeMapIndex?: number;
|
|
417
417
|
};
|
|
418
|
+
|
|
419
|
+
export type MapLegendControlSettings = {
|
|
420
|
+
position: {
|
|
421
|
+
x: number;
|
|
422
|
+
y: number;
|
|
423
|
+
anchorX: 'left' | 'right';
|
|
424
|
+
anchorY: 'top' | 'bottom';
|
|
425
|
+
};
|
|
426
|
+
contentHeight: number;
|
|
427
|
+
};
|
|
428
|
+
|
|
418
429
|
export type MapControlMapLegend = MapControlItem & {
|
|
419
430
|
disableEdit?: boolean;
|
|
431
|
+
settings?: MapLegendControlSettings;
|
|
420
432
|
};
|
|
421
433
|
export type MapControls = {
|
|
422
434
|
visibleLayers?: MapControlItem;
|