UNPKG

kepler.gl

Version:

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

27 lines (26 loc) 1.25 kB
import React from 'react'; import MapContainerFactory from './map-container'; import MapsLayoutFactory from './maps-layout'; import { SplitMap, ExportImage } from '@kepler.gl/types'; import { ActionHandler, addNotification, setExportImageDataUri, setExportImageError, setExportImageSetting } from '@kepler.gl/actions'; import { mapFieldsSelector } from './kepler-gl'; interface PlotContainerProps { ratio?: string; resolution?: string; legend?: boolean; center?: boolean; imageSize: ExportImage['imageSize']; escapeXhtmlForWebpack?: boolean; mapFields: ReturnType<typeof mapFieldsSelector>; splitMaps?: SplitMap[]; setExportImageSetting: typeof setExportImageSetting; setExportImageDataUri: typeof setExportImageDataUri; setExportImageError: typeof setExportImageError; addNotification: ActionHandler<typeof addNotification>; 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;