mirage2d 1.1.75 → 1.1.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,12 +37,15 @@ export declare class MirageMap extends baseMap {
37
37
  };
38
38
  protected selectTransform: SelectTransform;
39
39
  Proj: proj;
40
+ private splitInteraction;
40
41
  constructor(mapID: string, option: any);
41
42
  _addTipElement(): void;
42
43
  /**
43
44
  * @param {string} mapID
44
45
  */
45
46
  init(mapID: string): void;
47
+ openSplitInteraction(layer: any): void;
48
+ closeSplitInteraction(): void;
46
49
  showGridkInfo(): void;
47
50
  showGrid(option: {
48
51
  lineColor: 'rgba(0, 0, 0, 1)';
@@ -54,9 +57,9 @@ export declare class MirageMap extends baseMap {
54
57
  appendContextmenu(menu: any): void;
55
58
  scaleControl(scaleType: any): any;
56
59
  /**
57
- * @description: 设置背景图显示/隐藏
58
- * @param {boolean} isshow
59
- */
60
+ * @description: 设置背景图显示/隐藏
61
+ * @param {boolean} isshow
62
+ */
60
63
  setBaseLayerVisible(isshow?: boolean): void;
61
64
  /**
62
65
  * @description: 更新基础图层
@@ -75,14 +78,14 @@ export declare class MirageMap extends baseMap {
75
78
  */
76
79
  getLayers(): baseLayer[];
77
80
  /**
78
- * @description: 获取原始图层
79
- * @return layer
80
- */
81
+ * @description: 获取原始图层
82
+ * @return layer
83
+ */
81
84
  getLayer(layerid: any): any;
82
85
  /**
83
- * @description: 获取用户图层
84
- * @return layer
85
- */
86
+ * @description: 获取用户图层
87
+ * @return layer
88
+ */
86
89
  getUserLayer(layerid: any): any;
87
90
  getTileLayer(): any[];
88
91
  /**
@@ -148,11 +151,11 @@ export declare class MirageMap extends baseMap {
148
151
  */
149
152
  displayFeatureInfo(evt: any): void;
150
153
  /**
151
- * @description: 根据选择器导出图片
152
- * @param {string} querySelector
153
- * @param {Function} callbackBase64 返回base64图
154
- * @param {Function} errinfo 返回错误信息
155
- */
154
+ * @description: 根据选择器导出图片
155
+ * @param {string} querySelector
156
+ * @param {Function} callbackBase64 返回base64图
157
+ * @param {Function} errinfo 返回错误信息
158
+ */
156
159
  exportMapSelector(querySelector?: string, callbackBase64?: Function, errinfo?: Function): void;
157
160
  exportMap(type: string, errinfo?: Function): void;
158
161
  exportMapPdf(): void;