UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

31 lines (30 loc) 1.4 kB
import * as React from 'react'; import { IMapboxChartProps } from '../base'; interface IMapboxClusterChartState { popup?: { coordinates: GeoJSON.Position; total: number; leaves: Array<React.ReactElement<any>>; } | { feature: GeoJSON.Feature; }; } export default class MapboxClusterChart extends React.Component<IMapboxChartProps, IMapboxClusterChartState> { store: import("../store").default<import("../../../../base-pandora-visualization/services/chart-style/charts/mapbox/base").default>; state: IMapboxClusterChartState; clusterMarker(coordinates: GeoJSON.Position, pointCount: number, getLeaves: (limit?: number, offset?: number) => Array<React.ReactElement<any>>): React.JSX.Element; clusterEnter(coordinates: GeoJSON.Position, total: number, getLeaves: (limit?: number, offset?: number) => Array<React.ReactElement<any>>): void; markerEnter(feature: GeoJSON.Feature): void; getNameAndMetric(): { name: string; metricName: string; }; isEmptyPopupDisplay(name?: string, metricName?: string): boolean; renderPopupItem(feature: GeoJSON.Feature, index: number): React.JSX.Element | null; renderMarkerPopup(popup: any, empty: any): any; renderClusterPopup(popup: any, empty: any): any; renderPopup(): any; renderMarkers(): React.JSX.Element[]; render(): React.JSX.Element; } export {};