@kepler.gl/constants 3.2.5 → 3.2.6
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/default-settings.d.ts +11 -2
- package/dist/default-settings.js +95 -5
- package/package.json +2 -2
- package/umd/keplergl.min.js +2 -2
|
@@ -644,11 +644,12 @@ export declare const CustomRatioOption: ImageRatioOption;
|
|
|
644
644
|
export declare const FourByThreeRatioOption: ImageRatioOption;
|
|
645
645
|
export declare const SixteenByNineRatioOption: ImageRatioOption;
|
|
646
646
|
export declare const EXPORT_IMG_RATIO_OPTIONS: ReadonlyArray<ImageRatioOption>;
|
|
647
|
+
export declare type ExportResolutionOption = keyof typeof RESOLUTIONS | '1280x720' | '1920x1080' | '2560x1440' | '1600x900' | '1024x768' | '1280x960' | '1600x1200' | '1920x1440';
|
|
647
648
|
export declare type ImageResolutionOption = {
|
|
648
|
-
id:
|
|
649
|
+
id: ExportResolutionOption;
|
|
649
650
|
label: string;
|
|
650
651
|
available: boolean;
|
|
651
|
-
scale
|
|
652
|
+
scale?: number;
|
|
652
653
|
getSize: (screenW: number, screenH: number) => {
|
|
653
654
|
width: number;
|
|
654
655
|
height: number;
|
|
@@ -656,6 +657,14 @@ export declare type ImageResolutionOption = {
|
|
|
656
657
|
};
|
|
657
658
|
export declare const OneXResolutionOption: ImageResolutionOption;
|
|
658
659
|
export declare const TwoXResolutionOption: ImageResolutionOption;
|
|
660
|
+
export declare const Resolution1920x1080Option: ImageResolutionOption;
|
|
661
|
+
export declare const Resolution1280x720Option: ImageResolutionOption;
|
|
662
|
+
export declare const Resolution2560x1440Option: ImageResolutionOption;
|
|
663
|
+
export declare const Resolution1600x900Option: ImageResolutionOption;
|
|
664
|
+
export declare const Resolution1024x768Option: ImageResolutionOption;
|
|
665
|
+
export declare const Resolution1280x960Option: ImageResolutionOption;
|
|
666
|
+
export declare const Resolution1600x1200Option: ImageResolutionOption;
|
|
667
|
+
export declare const Resolution1920x1440Option: ImageResolutionOption;
|
|
659
668
|
export declare const EXPORT_IMG_RESOLUTION_OPTIONS: ReadonlyArray<ImageResolutionOption>;
|
|
660
669
|
export declare const EXPORT_DATA_TYPE: {
|
|
661
670
|
CSV: "CSV";
|