8152edc84a1a4b138fa1f10a59b75a7e06f93d858b02200207974a886efef34c1edd13c6c168176ff375b4af4119170c7879dbb49c7eb1b87441cd1895e4f1 1.0 KB

1234567891011121314151617181920212223
  1. import Geo from './Geo.js';
  2. import { GeoOption, RegoinOption } from './GeoModel.js';
  3. import { MapSeriesOption } from '../../chart/map/MapSeries.js';
  4. import ExtensionAPI from '../../core/ExtensionAPI.js';
  5. import { CoordinateSystemCreator } from '../CoordinateSystem.js';
  6. import { NameMap } from './geoTypes.js';
  7. import type GlobalModel from '../../model/Global.js';
  8. import type ComponentModel from '../../model/Component.js';
  9. export declare type resizeGeoType = typeof resizeGeo;
  10. /**
  11. * Resize method bound to the geo
  12. */
  13. declare function resizeGeo(this: Geo, geoModel: ComponentModel<GeoOption | MapSeriesOption>, api: ExtensionAPI): void;
  14. declare class GeoCreator implements CoordinateSystemCreator {
  15. dimensions: string[];
  16. create(ecModel: GlobalModel, api: ExtensionAPI): Geo[];
  17. /**
  18. * Fill given regions array
  19. */
  20. getFilledRegions(originRegionArr: RegoinOption[], mapName: string, nameMap: NameMap, nameProperty: string): RegoinOption[];
  21. }
  22. declare const geoCreator: GeoCreator;
  23. export default geoCreator;