kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
29 lines (28 loc) • 1.17 kB
TypeScript
import React from 'react';
import { AddDataToMapOptions, MapState, ProtoDataset, UiState } from '@kepler.gl/types';
import { ActionHandler, removeDataset, updateMap, updateVisData } from '@kepler.gl/actions';
import { MapViewState } from '@deck.gl/core/typed';
import { BaseComponentProps } from './types';
export declare type StyledGeocoderPanelProps = BaseComponentProps & {
unsyncedViewports?: boolean;
index?: number;
width?: number;
};
export declare function getUpdateVisDataPayload(lat: number, lon: number, text?: string): [ProtoDataset[], AddDataToMapOptions] | null;
interface GeocoderPanelProps {
isGeocoderEnabled: boolean;
mapState: MapState;
uiState: UiState;
mapboxApiAccessToken: string;
updateVisData: ActionHandler<typeof updateVisData>;
removeDataset: ActionHandler<typeof removeDataset>;
updateMap: ActionHandler<typeof updateMap>;
layerOrder: string[];
transitionDuration?: MapViewState['transitionDuration'];
width?: number;
className?: string;
index: number;
unsyncedViewports: boolean;
}
export default function GeocoderPanelFactory(): React.FC<GeocoderPanelProps>;
export {};