kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
33 lines (32 loc) • 1.04 kB
TypeScript
import React, { ComponentType } from 'react';
import { Layer } from '@kepler.gl/layers';
import { Filter } from '@kepler.gl/types';
import { Feature } from '@nebula.gl/edit-modes';
import { Datasets } from '@kepler.gl/table';
export interface FeatureActionPanelProps {
className?: string;
datasets: Datasets;
selectedFeature: Feature | null;
position: {
x: number;
y: number;
} | null;
layers: Layer[];
currentFilter?: Filter;
onToggleLayer: (layer: Layer) => void;
onDeleteFeature: () => void;
onClose?: () => void;
children?: React.ReactNode;
actionIcons?: {
[id: string]: React.ElementType;
};
}
export declare function PureFeatureActionPanelFactory(): React.FC<FeatureActionPanelProps>;
export declare namespace PureFeatureActionPanelFactory {
var deps: any[];
}
declare function FeatureActionPanelFactory(): ComponentType<FeatureActionPanelProps>;
declare namespace FeatureActionPanelFactory {
var deps: any[];
}
export default FeatureActionPanelFactory;