You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
29 lines
1.0 KiB
import { CSSProperties } from 'react'; |
|
import * as echarts from 'echarts'; |
|
import { MapSeriesOption } from 'echarts'; |
|
type ECOption = echarts.ComposeOption<MapSeriesOption>; |
|
type Grid = { |
|
name: string; |
|
adcode: string | number; |
|
[key: string]: string | number; |
|
}; |
|
export interface MapProps { |
|
service: (params: any) => Promise<any>; |
|
color?: Array<string>; |
|
options?: ECOption; |
|
conditions?: any; |
|
breadcrumbClassName?: any; |
|
lastLevel?: string; |
|
goDown?: boolean; |
|
roam?: boolean; |
|
isCarousel?: boolean; |
|
isKeepGrid?: boolean; |
|
searchKey?: string; |
|
loadingType?: any; |
|
style?: CSSProperties; |
|
toolbarloop: 'top5' | 'all'; |
|
onDownCallBack?: (n: Grid, c?: string | number, o?: object) => void; |
|
} |
|
export declare function ChartsMap({ service, color, conditions, options, goDown, lastLevel, onDownCallBack, breadcrumbClassName, roam, isCarousel, style, searchKey, loadingType, isKeepGrid, toolbarloop }: MapProps): JSX.Element; |
|
export declare function initMap(chart: any, customOptions: any, options: any): any; |
|
export {};
|
|
|