UNPKG

kepler.gl

Version:

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

13 lines (12 loc) 424 B
import { Bounds } from '@kepler.gl/types'; import { Layer } from '@kepler.gl/layers'; /** * takes a list of layer bounds and returns a single bound */ export declare function processLayerBounds(layerBounds: Bounds[]): Bounds; /** * return center of map from given points * @param layers * @returns coordinates of map center, empty if not found */ export declare function findMapBounds(layers: Layer[]): Bounds | null;