UNPKG

kepler.gl

Version:

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

28 lines (27 loc) 1.22 kB
import React from 'react'; import ExportHtmlMapFactory from './export-html-map'; import ExportJsonMapFactory from './export-json-map'; import { ActionHandler, setExportHTMLMapMode, setUserMapboxAccessToken } from '@kepler.gl/actions'; interface ExportMapModalFactoryProps { options?: { format: string; }; config: any; onEditUserMapboxAccessToken: ActionHandler<typeof setUserMapboxAccessToken>; onChangeExportMapHTMLMode?: ActionHandler<typeof setExportHTMLMapMode>; onChangeExportMapFormat?: (format: string) => any; mapFormat?: string; } declare function ExportMapModalFactory(ExportHtmlMap: ReturnType<typeof ExportHtmlMapFactory>, ExportJsonMap: ReturnType<typeof ExportJsonMapFactory>): React.MemoExoticComponent<{ ({ config, onChangeExportMapFormat, onChangeExportMapHTMLMode, onEditUserMapboxAccessToken, options }: ExportMapModalFactoryProps): React.JSX.Element; displayName: string; }>; declare namespace ExportMapModalFactory { var deps: ((() => React.MemoExoticComponent<{ ({ config }: { config: any; }): React.JSX.Element; displayName: string; }>) | typeof ExportHtmlMapFactory)[]; } export default ExportMapModalFactory;