@kepler.gl/deckgl-layers 3.3.0-alpha.1 → 3.3.0-alpha.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.
|
@@ -172,7 +172,7 @@ export default class ScaleEnhancedGridLayer extends GridLayer<any> {
|
|
|
172
172
|
compare?: boolean;
|
|
173
173
|
ignore?: boolean;
|
|
174
174
|
})) | undefined;
|
|
175
|
-
colorDomain?: ({
|
|
175
|
+
colorDomain?: (readonly [number, number] | {
|
|
176
176
|
deprecatedFor?: string | string[];
|
|
177
177
|
} | ({
|
|
178
178
|
value: boolean;
|
|
@@ -206,7 +206,7 @@ export default class ScaleEnhancedGridLayer extends GridLayer<any> {
|
|
|
206
206
|
} & {
|
|
207
207
|
type: "image";
|
|
208
208
|
parameters?: any;
|
|
209
|
-
}) |
|
|
209
|
+
}) | ({
|
|
210
210
|
value: readonly [number, number] | null;
|
|
211
211
|
async?: boolean;
|
|
212
212
|
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
@@ -409,7 +409,7 @@ export default class ScaleEnhancedGridLayer extends GridLayer<any> {
|
|
|
409
409
|
compare?: boolean;
|
|
410
410
|
ignore?: boolean;
|
|
411
411
|
})) | undefined;
|
|
412
|
-
elevationDomain?: ({
|
|
412
|
+
elevationDomain?: (readonly [number, number] | {
|
|
413
413
|
deprecatedFor?: string | string[];
|
|
414
414
|
} | ({
|
|
415
415
|
value: boolean;
|
|
@@ -443,7 +443,7 @@ export default class ScaleEnhancedGridLayer extends GridLayer<any> {
|
|
|
443
443
|
} & {
|
|
444
444
|
type: "image";
|
|
445
445
|
parameters?: any;
|
|
446
|
-
}) |
|
|
446
|
+
}) | ({
|
|
447
447
|
value: readonly [number, number] | null;
|
|
448
448
|
async?: boolean;
|
|
449
449
|
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
@@ -488,7 +488,7 @@ export default class ScaleEnhancedGridLayer extends GridLayer<any> {
|
|
|
488
488
|
compare?: boolean;
|
|
489
489
|
ignore?: boolean;
|
|
490
490
|
}) | null) | undefined;
|
|
491
|
-
elevationRange?: ({
|
|
491
|
+
elevationRange?: (readonly [number, number] | {
|
|
492
492
|
deprecatedFor?: string | string[];
|
|
493
493
|
} | ({
|
|
494
494
|
value: boolean;
|
|
@@ -522,7 +522,7 @@ export default class ScaleEnhancedGridLayer extends GridLayer<any> {
|
|
|
522
522
|
} & {
|
|
523
523
|
type: "image";
|
|
524
524
|
parameters?: any;
|
|
525
|
-
}) |
|
|
525
|
+
}) | ({
|
|
526
526
|
value: readonly [number, number];
|
|
527
527
|
async?: boolean;
|
|
528
528
|
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
@@ -3162,7 +3162,85 @@ export default class ScaleEnhancedGridLayer extends GridLayer<any> {
|
|
|
3162
3162
|
compare?: boolean;
|
|
3163
3163
|
ignore?: boolean;
|
|
3164
3164
|
})) | undefined;
|
|
3165
|
-
modelMatrix?: Matrix4Like |
|
|
3165
|
+
modelMatrix?: (import("@math.gl/core").Matrix4Like | {
|
|
3166
|
+
deprecatedFor?: string | string[];
|
|
3167
|
+
} | ({
|
|
3168
|
+
value: boolean;
|
|
3169
|
+
async?: boolean;
|
|
3170
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3171
|
+
equal?: ((value1: boolean, value2: boolean, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3172
|
+
} & {
|
|
3173
|
+
type: "boolean";
|
|
3174
|
+
}) | ({
|
|
3175
|
+
value: number;
|
|
3176
|
+
async?: boolean;
|
|
3177
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3178
|
+
equal?: ((value1: number, value2: number, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3179
|
+
} & {
|
|
3180
|
+
type: "number";
|
|
3181
|
+
min?: number;
|
|
3182
|
+
max?: number;
|
|
3183
|
+
}) | ({
|
|
3184
|
+
value: import("@deck.gl/core").Color | null;
|
|
3185
|
+
async?: boolean;
|
|
3186
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3187
|
+
equal?: ((value1: import("@deck.gl/core").Color | null, value2: import("@deck.gl/core").Color | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3188
|
+
} & {
|
|
3189
|
+
type: "color";
|
|
3190
|
+
optional?: boolean;
|
|
3191
|
+
}) | ({
|
|
3192
|
+
value: import("@deck.gl/core").TextureSource | null;
|
|
3193
|
+
async?: boolean;
|
|
3194
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3195
|
+
equal?: ((value1: import("@deck.gl/core").TextureSource | null, value2: import("@deck.gl/core").TextureSource | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3196
|
+
} & {
|
|
3197
|
+
type: "image";
|
|
3198
|
+
parameters?: any;
|
|
3199
|
+
}) | ({
|
|
3200
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3201
|
+
async?: boolean;
|
|
3202
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3203
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3204
|
+
} & {
|
|
3205
|
+
type: "data";
|
|
3206
|
+
}) | ({
|
|
3207
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3208
|
+
async?: boolean;
|
|
3209
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3210
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3211
|
+
} & {
|
|
3212
|
+
type: "array";
|
|
3213
|
+
optional?: boolean;
|
|
3214
|
+
ignore?: boolean;
|
|
3215
|
+
compare?: boolean | number;
|
|
3216
|
+
}) | ({
|
|
3217
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3218
|
+
async?: boolean;
|
|
3219
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3220
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3221
|
+
} & {
|
|
3222
|
+
type: "object";
|
|
3223
|
+
optional?: boolean;
|
|
3224
|
+
ignore?: boolean;
|
|
3225
|
+
compare?: boolean | number;
|
|
3226
|
+
}) | ({
|
|
3227
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3228
|
+
async?: boolean;
|
|
3229
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3230
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3231
|
+
} & {
|
|
3232
|
+
type: "accessor";
|
|
3233
|
+
}) | ({
|
|
3234
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3235
|
+
async?: boolean;
|
|
3236
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3237
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3238
|
+
} & {
|
|
3239
|
+
type: "function";
|
|
3240
|
+
optional?: boolean;
|
|
3241
|
+
compare?: boolean;
|
|
3242
|
+
ignore?: boolean;
|
|
3243
|
+
}) | null) | undefined;
|
|
3166
3244
|
wrapLongitude?: (boolean | {
|
|
3167
3245
|
deprecatedFor?: string | string[];
|
|
3168
3246
|
} | ({
|
|
@@ -171,7 +171,7 @@ export default class ScaleEnhancedHexagonLayer extends HexagonLayer<any> {
|
|
|
171
171
|
compare?: boolean;
|
|
172
172
|
ignore?: boolean;
|
|
173
173
|
}) | null) | undefined;
|
|
174
|
-
colorDomain?: ({
|
|
174
|
+
colorDomain?: (readonly [number, number] | {
|
|
175
175
|
deprecatedFor?: string | string[];
|
|
176
176
|
} | ({
|
|
177
177
|
value: boolean;
|
|
@@ -205,7 +205,7 @@ export default class ScaleEnhancedHexagonLayer extends HexagonLayer<any> {
|
|
|
205
205
|
} & {
|
|
206
206
|
type: "image";
|
|
207
207
|
parameters?: any;
|
|
208
|
-
}) |
|
|
208
|
+
}) | ({
|
|
209
209
|
value: readonly [number, number] | null;
|
|
210
210
|
async?: boolean;
|
|
211
211
|
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
@@ -408,7 +408,7 @@ export default class ScaleEnhancedHexagonLayer extends HexagonLayer<any> {
|
|
|
408
408
|
compare?: boolean;
|
|
409
409
|
ignore?: boolean;
|
|
410
410
|
})) | undefined;
|
|
411
|
-
elevationDomain?: ({
|
|
411
|
+
elevationDomain?: (readonly [number, number] | {
|
|
412
412
|
deprecatedFor?: string | string[];
|
|
413
413
|
} | ({
|
|
414
414
|
value: boolean;
|
|
@@ -442,7 +442,7 @@ export default class ScaleEnhancedHexagonLayer extends HexagonLayer<any> {
|
|
|
442
442
|
} & {
|
|
443
443
|
type: "image";
|
|
444
444
|
parameters?: any;
|
|
445
|
-
}) |
|
|
445
|
+
}) | ({
|
|
446
446
|
value: readonly [number, number] | null;
|
|
447
447
|
async?: boolean;
|
|
448
448
|
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
@@ -487,7 +487,7 @@ export default class ScaleEnhancedHexagonLayer extends HexagonLayer<any> {
|
|
|
487
487
|
compare?: boolean;
|
|
488
488
|
ignore?: boolean;
|
|
489
489
|
}) | null) | undefined;
|
|
490
|
-
elevationRange?: ({
|
|
490
|
+
elevationRange?: (readonly [number, number] | {
|
|
491
491
|
deprecatedFor?: string | string[];
|
|
492
492
|
} | ({
|
|
493
493
|
value: boolean;
|
|
@@ -521,7 +521,7 @@ export default class ScaleEnhancedHexagonLayer extends HexagonLayer<any> {
|
|
|
521
521
|
} & {
|
|
522
522
|
type: "image";
|
|
523
523
|
parameters?: any;
|
|
524
|
-
}) |
|
|
524
|
+
}) | ({
|
|
525
525
|
value: readonly [number, number];
|
|
526
526
|
async?: boolean;
|
|
527
527
|
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
@@ -3161,7 +3161,85 @@ export default class ScaleEnhancedHexagonLayer extends HexagonLayer<any> {
|
|
|
3161
3161
|
compare?: boolean;
|
|
3162
3162
|
ignore?: boolean;
|
|
3163
3163
|
})) | undefined;
|
|
3164
|
-
modelMatrix?: Matrix4Like |
|
|
3164
|
+
modelMatrix?: (import("@math.gl/core").Matrix4Like | {
|
|
3165
|
+
deprecatedFor?: string | string[];
|
|
3166
|
+
} | ({
|
|
3167
|
+
value: boolean;
|
|
3168
|
+
async?: boolean;
|
|
3169
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3170
|
+
equal?: ((value1: boolean, value2: boolean, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3171
|
+
} & {
|
|
3172
|
+
type: "boolean";
|
|
3173
|
+
}) | ({
|
|
3174
|
+
value: number;
|
|
3175
|
+
async?: boolean;
|
|
3176
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3177
|
+
equal?: ((value1: number, value2: number, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3178
|
+
} & {
|
|
3179
|
+
type: "number";
|
|
3180
|
+
min?: number;
|
|
3181
|
+
max?: number;
|
|
3182
|
+
}) | ({
|
|
3183
|
+
value: import("@deck.gl/core").Color | null;
|
|
3184
|
+
async?: boolean;
|
|
3185
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3186
|
+
equal?: ((value1: import("@deck.gl/core").Color | null, value2: import("@deck.gl/core").Color | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3187
|
+
} & {
|
|
3188
|
+
type: "color";
|
|
3189
|
+
optional?: boolean;
|
|
3190
|
+
}) | ({
|
|
3191
|
+
value: import("@deck.gl/core").TextureSource | null;
|
|
3192
|
+
async?: boolean;
|
|
3193
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3194
|
+
equal?: ((value1: import("@deck.gl/core").TextureSource | null, value2: import("@deck.gl/core").TextureSource | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3195
|
+
} & {
|
|
3196
|
+
type: "image";
|
|
3197
|
+
parameters?: any;
|
|
3198
|
+
}) | ({
|
|
3199
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3200
|
+
async?: boolean;
|
|
3201
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3202
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3203
|
+
} & {
|
|
3204
|
+
type: "data";
|
|
3205
|
+
}) | ({
|
|
3206
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3207
|
+
async?: boolean;
|
|
3208
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3209
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3210
|
+
} & {
|
|
3211
|
+
type: "array";
|
|
3212
|
+
optional?: boolean;
|
|
3213
|
+
ignore?: boolean;
|
|
3214
|
+
compare?: boolean | number;
|
|
3215
|
+
}) | ({
|
|
3216
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3217
|
+
async?: boolean;
|
|
3218
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3219
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3220
|
+
} & {
|
|
3221
|
+
type: "object";
|
|
3222
|
+
optional?: boolean;
|
|
3223
|
+
ignore?: boolean;
|
|
3224
|
+
compare?: boolean | number;
|
|
3225
|
+
}) | ({
|
|
3226
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3227
|
+
async?: boolean;
|
|
3228
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3229
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3230
|
+
} & {
|
|
3231
|
+
type: "accessor";
|
|
3232
|
+
}) | ({
|
|
3233
|
+
value: import("@math.gl/core").Matrix4Like | null;
|
|
3234
|
+
async?: boolean;
|
|
3235
|
+
validate?: (value: any, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean;
|
|
3236
|
+
equal?: ((value1: import("@math.gl/core").Matrix4Like | null, value2: import("@math.gl/core").Matrix4Like | null, propType: import("@deck.gl/core/dist/lifecycle/prop-types").PropType) => boolean) | undefined;
|
|
3237
|
+
} & {
|
|
3238
|
+
type: "function";
|
|
3239
|
+
optional?: boolean;
|
|
3240
|
+
compare?: boolean;
|
|
3241
|
+
ignore?: boolean;
|
|
3242
|
+
}) | null) | undefined;
|
|
3165
3243
|
wrapLongitude?: (boolean | {
|
|
3166
3244
|
deprecatedFor?: string | string[];
|
|
3167
3245
|
} | ({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kepler.gl/deckgl-layers",
|
|
3
3
|
"author": "Shan He <shan@uber.com>",
|
|
4
|
-
"version": "3.3.0-alpha.
|
|
4
|
+
"version": "3.3.0-alpha.3",
|
|
5
5
|
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"@deck.gl/core": "^9.3.1",
|
|
35
35
|
"@deck.gl/geo-layers": "^9.3.1",
|
|
36
36
|
"@deck.gl/layers": "^9.3.1",
|
|
37
|
-
"@kepler.gl/constants": "3.3.0-alpha.
|
|
38
|
-
"@kepler.gl/types": "3.3.0-alpha.
|
|
39
|
-
"@kepler.gl/utils": "3.3.0-alpha.
|
|
37
|
+
"@kepler.gl/constants": "3.3.0-alpha.3",
|
|
38
|
+
"@kepler.gl/types": "3.3.0-alpha.3",
|
|
39
|
+
"@kepler.gl/utils": "3.3.0-alpha.3",
|
|
40
40
|
"@loaders.gl/wms": "4.4.1",
|
|
41
41
|
"@luma.gl/constants": "^9.3.2",
|
|
42
42
|
"@luma.gl/core": "^9.3.2",
|