mirage2d 1.1.74 → 1.1.75

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.
@@ -135,6 +135,11 @@ export declare class MirageMap extends baseMap {
135
135
  duration3?: number;
136
136
  callback?: Function;
137
137
  }): void;
138
+ /**
139
+ * @description: 定位到范围或图形
140
+ * @param {Extent | SimpleGeometry} geometryOrExtent
141
+ * @param {FitOptions} opt_options
142
+ */
138
143
  fit(geometryOrExtent: Extent | SimpleGeometry, opt_options: FitOptions): void;
139
144
  /**
140
145
  * @description: 获取地图鼠标点击
@@ -142,7 +147,13 @@ export declare class MirageMap extends baseMap {
142
147
  * @return {*}
143
148
  */
144
149
  displayFeatureInfo(evt: any): void;
145
- exportMapSelector(querySelector?: string, errinfo?: Function): void;
150
+ /**
151
+ * @description: 根据选择器导出图片
152
+ * @param {string} querySelector
153
+ * @param {Function} callbackBase64 返回base64图
154
+ * @param {Function} errinfo 返回错误信息
155
+ */
156
+ exportMapSelector(querySelector?: string, callbackBase64?: Function, errinfo?: Function): void;
146
157
  exportMap(type: string, errinfo?: Function): void;
147
158
  exportMapPdf(): void;
148
159
  destroy(): void;