realmap
Version:
Wooritech map chart component library
31 lines (26 loc) • 974 B
TypeScript
import { MapChart, ExportOptions, ExporterOptions } from 'realmap';
declare class RealMapExporter {
private _imageExporter;
private _libraryExporter;
private _contextmenuButton;
private _contextmenu;
private _chart;
/**
* @private
* 컨트롤 내부에서 자동 생성되므로 이 생성자를 직접 호출할 일은 없다.
*/
constructor(doc: Document, dom: HTMLElement, chart: MapChart);
exportToImage(dom: HTMLElement, options: ExportOptions, config: ExporterOptions): void;
isContextMenuVisible(): boolean;
toggleContextMenu(): void;
contains(dom: Element): boolean;
hideContextMenu(): void;
private $_render;
}
declare class Globals {
static readonly MODULE_NAME = "$$realmap_export";
static use(chart: any): void;
static createExporter(doc: Document, dom: HTMLElement, chart: MapChart): RealMapExporter;
}
declare const RealMapExport: typeof Globals.use;
export { RealMapExport };