import { MDControlBase } from "./md-control-base"; import { IPSSysMap } from '@ibizstudio/runtime'; import { MapControlInterface } from '@ibizstudio/runtime'; /** * 地图部件基类 * * @export * @class MapControlBase * @extends {MDControlBase} */ export declare class MapControlBase extends MDControlBase implements MapControlInterface { /** * 地图的模型对象 * * @type {*} * @memberof MapControlBase */ controlInstance: IPSSysMap; /** * 地图对象 * * @type {*} * @memberof MapControlBase */ map: any; /** * 地图服务对象 * * @type {*} * @memberof MapControlBase */ service: any; /** * 获取地址需求AMap插件对象 * * @type {*} * @memberof MapControlBase */ geocoder: any; /** * 当前 window * * @type {*} * @memberof MapControlBase */ win: any; /** * 地图信息缓存 * * @memberof MapControlBase */ addressCache: Map; /** * 获取选中数据 * * @returns {any[]} * @memberof GridControlBase */ getSelection(): any[]; /** * 地图数据 * * @type {*} * @memberof MapControlBase */ items: Array; /** * 地图数据项模型 * * @type {} * @memberof MapControlBase */ mapItems: any; /** * 显示图例 * * @type {*} * @memberof MapControlBase */ showLegends: any[]; /** * 显示的最大值 * * @type {number} * @memberof MapControlBase */ valueMax: number; /** * 省份区域数据 * * @memberof MapControlBase */ areaData: any; /** * 区域样式图数据 * * @memberof MapControlBase */ regionData: any; /** * 省份区域值集合 * * @memberof MapControlBase */ getAreaValueList(): { name: string; value: number; }[]; /** * 初始化配置 * * @type {} * @memberof MapControlBase */ initOptions: any; /** * 默认排序方向 * * @readonly * @memberof MapControlBase */ minorSortDir: any; /** * 默认排序应用实体属性 * * @readonly * @memberof MapControlBase */ minorSortPSDEF: any; /** * 监听静态参数变化 * * @param {*} newVal * @param {*} oldVal * @memberof MapControlBase */ onStaticPropsChange(newVal: any, oldVal: any): void; /** * 部件模型数据初始化实例 * * @memberof MapControlBase */ ctrlModelInit(args?: any): Promise; /** * 初始化 * * @memberof MapControlBase */ ctrlInit(args?: any): void; viewStateAction(tag: string, action: string, data: any): void; /** * 部件挂载完毕 * * @protected * @memberof MapControlBase */ ctrlMounted(): void; /** * 刷新 * * @param {*} [args] 额外参数 * @memberof MapControlBase */ refresh(args?: any): void; /** * 更新大小 * * @memberof MapControlBase */ updateSize(): void; /** * 地图数据加载 * * @param {*} [data={}] 额外参数 * @returns {void} * @memberof MapControlBase */ load(data?: any): void; /** * 设置配置 * * @memberof MapControlBase */ setOptions(): void; /** * 配置整合 * * @return {*} * @memberof MapControlBase */ handleMapOptions(): void; /** * 整合序列数据 * * @param {*} seriesData 序列数据 * @param {*} serie 序列 * @memberof MapControlBase */ handleSeriesOptions(seriesData: Array, serie: any): void; /** * 初始化地图参数 * * @memberof MapControlBase */ initMapModel(): void; /** * 绘制悬浮提示 * * @param arg */ renderTooltip(arg: any): string; /** * 绘制区域图 * * @param params 参数 * @param api 方法集合 * @returns */ renderRegion(params: any, api: any): { type: string; children: any[]; }; /** * 调用服务,根据经纬度获取地址信息 * * @param {*} lng 经度 * @param {*} lat 纬度 * @memberof MapControlBase */ getAddress(lng: any, lat: any): Promise; /** * 计算省份区域数据 * * @memberof MapControlBase */ calculateAreaData(): Promise; /** * 计算省份区域数据值(项类容属性) * * @param name 省份区域名 * @returns 省份区域值 * @memberof MapControlBase */ calculateAreaValue(name: string): number; /** * 设置地图数据(初始化) * * @memberof MapControlBase */ setAreaData(): void; /** * 地图点击事件 * * @param $event 选中数据 * @memberof MapControlBase */ onClick($event: any[]): void; } //# sourceMappingURL=map-control-base.d.ts.map