UNPKG

kepler.gl

Version:

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

23 lines (22 loc) 696 B
import Supercluster from 'supercluster'; import { MemoizedFunction } from 'lodash'; import { BBox, Position } from 'geojson'; export declare function getGeoJSON(data: any, getPosition: any, filterData: any): any; export default class ClusterBuilder { clusterer: (({ clusterRadius, geoJSON }: { clusterRadius: number; geoJSON: any; }) => Supercluster) & MemoizedFunction; constructor(); clustersAtZoom({ bbox, clusterRadius, geoJSON, zoom }: { bbox: BBox; clusterRadius: number; geoJSON: any; zoom: number; }): { points: any; position: Position; index: number; }[]; clearClustererCache(): void; }