kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
29 lines (28 loc) • 1.28 kB
TypeScript
import React from 'react';
import { IntlShape } from 'react-intl';
import { LayerHoverProp } from '@kepler.gl/reducers';
import LayerHoverInfoFactory from './layer-hover-info';
import CoordinateInfoFactory from './coordinate-info';
declare type MapPopoverContentProps = {
coordinate: [number, number] | boolean;
layerHoverProp: LayerHoverProp | null;
zoom: number;
};
declare type IntlProps = {
intl: IntlShape;
};
declare function MapPopoverContentFactory(LayerHoverInfo: ReturnType<typeof LayerHoverInfoFactory>, CoordinateInfo: ReturnType<typeof CoordinateInfoFactory>): React.FC<import("react-intl").WithIntlProps<MapPopoverContentProps & IntlProps>> & {
WrappedComponent: React.ComponentType<MapPopoverContentProps & IntlProps>;
};
declare namespace MapPopoverContentFactory {
var deps: ((() => React.FC<import("./coordinate-info").CoordinateInfoProps>) | (() => {
(props: any): React.JSX.Element | null;
propTypes: {
fields: import("prop-types").Requireable<any[]>;
fieldsToShow: import("prop-types").Requireable<any[]>;
layer: import("prop-types").Requireable<object>;
data: import("prop-types").Requireable<object>;
};
}))[];
}
export default MapPopoverContentFactory;