utils-echart
Version:
Echart component
26 lines (25 loc) • 620 B
TypeScript
/** 飞线数据格式 */
export interface FlyLineFormat {
/** 起点名称 */
fromName: string;
/** 终点名称 */
toName: string;
/** 经纬度 */
coords: [number[], number[]];
}
/** 默认飞线传参格式 */
export type defaultFlyLineFormat = [string, string];
/** 各地图对应飞线数据 */
export interface mapFlyLineFormat {
map: string;
data: FlyLineFormat[];
}
/** 各地图对应点位数据 */
export interface mapPointFormat {
map: string;
data: any[];
}
/** echart公共配置项 */
export interface comKeys {
[key: string]: any;
}