UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

25 lines (24 loc) 1.2 kB
import React from 'react'; import MapContainerFactory from './map-container'; import MapsLayoutFactory from './maps-layout'; import { ExportImage } from '@kepler.gl/constants'; import { SplitMap } from '@kepler.gl/types'; import { ActionHandler, addNotification, setExportImageDataUri, setExportImageError, setExportImageSetting } from '@kepler.gl/actions'; import { mapFieldsSelector } from './kepler-gl'; interface PlotContainerProps { width?: number; height?: number; exportImageSetting: ExportImage; addNotification: ActionHandler<typeof addNotification>; mapFields: ReturnType<typeof mapFieldsSelector>; setExportImageSetting: typeof setExportImageSetting; setExportImageDataUri: typeof setExportImageDataUri; setExportImageError: typeof setExportImageError; splitMaps?: SplitMap[]; enableErrorNotification?: boolean; } declare function PlotContainerFactory(MapContainer: ReturnType<typeof MapContainerFactory>, MapsLayout: ReturnType<typeof MapsLayoutFactory>): React.ComponentType<PlotContainerProps>; declare namespace PlotContainerFactory { var deps: (typeof MapContainerFactory | typeof MapsLayoutFactory)[]; } export default PlotContainerFactory;