@kepler.gl/types 3.1.8 → 3.1.9
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/layers.d.ts +11 -0
- package/package.json +1 -1
- package/reducers.d.ts +1 -0
package/layers.d.ts
CHANGED
|
@@ -419,12 +419,23 @@ export type LayerCallbacks = {
|
|
|
419
419
|
count: number;
|
|
420
420
|
}
|
|
421
421
|
) => void;
|
|
422
|
+
onWMSFeatureInfo?: (
|
|
423
|
+
idx: number,
|
|
424
|
+
props: {
|
|
425
|
+
featureInfo: Array<{name: string; value: string}> | string | null;
|
|
426
|
+
coordinate?: [number, number] | null;
|
|
427
|
+
}
|
|
428
|
+
) => void;
|
|
422
429
|
};
|
|
423
430
|
|
|
424
431
|
export type BindedLayerCallbacks = {
|
|
425
432
|
onLayerHover?: (value: any) => void;
|
|
426
433
|
onSetLayerDomain?: (value: any) => void;
|
|
427
434
|
onFilteredItemsChange?: (event: {id: string; count: number}) => void;
|
|
435
|
+
onWMSFeatureInfo?: (
|
|
436
|
+
featureInfo: Array<{name: string; value: string}> | string | null,
|
|
437
|
+
coordinate?: [number, number]
|
|
438
|
+
) => void;
|
|
428
439
|
};
|
|
429
440
|
|
|
430
441
|
export type VisualChannelAggregation = 'colorAggregation' | 'sizeAggregation';
|
package/package.json
CHANGED