UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

27 lines (26 loc) 1.05 kB
import React from 'react'; import { IMapboxChartProps } from './base'; export declare type IMapboxPointChartProps = IMapboxChartProps & { beforePoint?: any; afterPoint?: any; renderPoint: (feature: GeoJSON.Feature, index: number, features: GeoJSON.Feature[]) => any; }; interface IMapboxPointChartState { popup?: { feature: GeoJSON.Feature; }; } export default class MapboxPointChart extends React.Component<IMapboxPointChartProps, IMapboxPointChartState> { store: import("./store").default<import("../../../base-pandora-visualization/services/chart-style/charts/mapbox/base").default>; state: IMapboxPointChartState; getDisplayFields(): { displayFields: string[]; metricName: string; }; isEmptyPopupDisplay(displayFields: string[], metricName: string): boolean; renderPopup(feature: GeoJSON.Feature, index: number): React.JSX.Element | null; markerEnter(feature: GeoJSON.Feature): void; renderMarker(): React.JSX.Element[]; render(): React.JSX.Element; } export {};