kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
21 lines (20 loc) • 843 B
TypeScript
import React from 'react';
import { IntlShape } from 'react-intl';
import { InputStyle, MapState } from '@kepler.gl/types';
import { ActionHandler, inputMapStyle, loadCustomMapStyle } from '@kepler.gl/actions';
interface AddMapStyleModalProps {
inputMapStyle: ActionHandler<typeof inputMapStyle>;
inputStyle: InputStyle;
loadCustomMapStyle: ActionHandler<typeof loadCustomMapStyle>;
mapboxApiAccessToken: string;
mapboxApiUrl?: string;
transformRequest?: (mapboxKey: string) => (url: string, resourceType: string) => {
url: string;
};
mapState: MapState;
intl: IntlShape;
}
declare function AddMapStyleModalFactory(): React.FC<import("react-intl").WithIntlProps<AddMapStyleModalProps>> & {
WrappedComponent: React.ComponentType<AddMapStyleModalProps>;
};
export default AddMapStyleModalFactory;