echarts
Version:
Apache ECharts is a powerful, interactive charting and data visualization library for browser
24 lines (23 loc) • 746 B
TypeScript
import { HashMap } from 'zrender/lib/core/util';
import BoundingRect from 'zrender/lib/core/BoundingRect';
import { NameMap } from './geoTypes';
import Region from './Region';
import Group from 'zrender/lib/graphic/Group';
declare const _default: {
load: (mapName: string, nameMap: NameMap, nameProperty?: string) => {
regions: Region[];
regionsMap: HashMap<Region>;
nameCoordMap: HashMap<number[]>;
boundingRect: BoundingRect;
};
/**
* @param hostKey For cache.
* @return Roots.
*/
makeGraphic: (mapName: string, hostKey: string) => Group[];
/**
* @param hostKey For cache.
*/
removeGraphic: (mapName: string, hostKey: string) => void;
};
export default _default;