kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
10 lines (9 loc) • 620 B
TypeScript
import { SplitMapLayers, SplitMap, Viewport, MapState } from '@kepler.gl/types';
export declare const onViewPortChange: (viewState: Viewport, onUpdateMap: (next: any, mapIndex: number) => any, onViewStateChange?: ((next: any) => void | null) | undefined, primary?: boolean, mapIndex?: number) => void;
export declare const getMapLayersFromSplitMaps: (splitMaps: SplitMap[], mapIndex?: number | undefined) => SplitMapLayers | undefined | null;
/**
* Generates a viewport from a map state.
* @param {*} mapState
* @returns A viewport.
*/
export declare const getViewportFromMapState: (mapState: MapState) => Viewport;