UNPKG

kepler.gl

Version:

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

26 lines (25 loc) 946 B
import { MapLib } from 'react-map-gl'; export declare type MapLibInstance = MapLib<any>; /** * A mechanism to override default Kepler values/settings so that we * without having to make application-specific changes to the kepler repo. */ export declare type KeplerApplicationConfig<Map> = { /** Default name of export HTML file, can be overridden by user */ defaultHtmlName?: string; defaultImageName?: string; defaultJsonName?: string; defaultDataName?: string; defaultExportJsonSettings?: { hasData?: boolean; }; getMapLib?: () => Promise<MapLibInstance>; getMap?: (ref: any) => Map; mapLibCssClass?: string; mapLibName?: string; mapLibUrl?: string; plugins?: any[]; table?: any; }; export declare const getApplicationConfig: () => Required<KeplerApplicationConfig<mapboxgl.Map>>; export declare function initApplicationConfig<M>(appConfig?: KeplerApplicationConfig<M>): void;