kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
26 lines (25 loc) • 1.3 kB
TypeScript
import React from 'react';
import SourceDataCatalogFactory from '../common/source-data-catalog';
import LayerListFactory from './layer-list';
import { Layer, LayerClassesType } from '@kepler.gl/layers';
import { UIStateActions, ActionHandler, VisStateActions, MapStateActions } from '@kepler.gl/actions';
import { KeplerTable, Datasets } from '@kepler.gl/table';
declare type DatasetLayerSectionProps = {
datasets: Datasets;
dataset: KeplerTable;
layers: Layer[];
layerOrder: string[];
layerClasses: LayerClassesType;
showDeleteDataset: boolean;
showDatasetTable: ActionHandler<typeof VisStateActions.showDatasetTable>;
updateTableColor: ActionHandler<typeof VisStateActions.updateTableColor>;
removeDataset: ActionHandler<typeof UIStateActions.openDeleteModal>;
uiStateActions: typeof UIStateActions;
visStateActions: typeof VisStateActions;
mapStateActions: typeof MapStateActions;
};
declare function DatasetLayerSectionFactory(SourceDataCatalog: ReturnType<typeof SourceDataCatalogFactory>, LayerList: ReturnType<typeof LayerListFactory>): React.FC<DatasetLayerSectionProps>;
declare namespace DatasetLayerSectionFactory {
var deps: (typeof LayerListFactory | typeof SourceDataCatalogFactory)[];
}
export default DatasetLayerSectionFactory;