mirage2d 1.1.73 → 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;
@@ -12,4 +12,5 @@ export declare class ImageCanvasLayer extends baseLayer {
12
12
  setText(htmlstr: string): void;
13
13
  setElementStyle(key: string, val: string | number | undefined | null): void;
14
14
  appendTo(map: any): void;
15
+ setMouseLock(val?: boolean): void;
15
16
  }
@@ -27,5 +27,5 @@ export declare class GeoImageLayer extends baseTileLayer {
27
27
  * @description: 结束编辑
28
28
  */
29
29
  endEdit(): void;
30
- appendTo(map: any, mGraphicLayer: any, mSelectTransform: SelectTransform): void;
30
+ appendTo(map: any, mSelectTransform: SelectTransform, mGraphicLayer: any): void;
31
31
  }
@@ -3,6 +3,7 @@ import VectorSource from "ol/source/Vector";
3
3
  import { IFeatureAttribute, IGraphicLayerOption, IlevelColor, ITooltipInfo } from "./baseOptionType";
4
4
  import { Geometry } from "ol/geom";
5
5
  import Feature from "ol/Feature";
6
+ import { SelectTransform } from "../extend/interaction/SelectTransform";
6
7
  export declare class baseGraphicLayer extends baseLayer {
7
8
  private _graphicLayerSelect;
8
9
  selectFeature: Feature<Geometry>;
@@ -13,6 +14,7 @@ export declare class baseGraphicLayer extends baseLayer {
13
14
  private _draw;
14
15
  private _tipPoint;
15
16
  option: IGraphicLayerOption;
17
+ private mSelectTransform;
16
18
  constructor(layerid: string, Options?: IGraphicLayerOption);
17
19
  initSelect(): void;
18
20
  startMove(): void;
@@ -146,8 +148,16 @@ export declare class baseGraphicLayer extends baseLayer {
146
148
  */
147
149
  startDraw(option: any): void;
148
150
  changeGraphicData(option: any, drawFeature: any): void;
149
- appendTo(map: any): void;
151
+ appendTo(map: any, mSelectTransform: SelectTransform): void;
150
152
  toGeoJSON(): import("geojson").FeatureCollection<import("geojson").Geometry, {
151
153
  [name: string]: any;
152
154
  }>;
155
+ /**
156
+ * @description: 启动旋转缩放
157
+ */
158
+ startTransform(): void;
159
+ /**
160
+ * @description: 结束旋转缩放
161
+ */
162
+ endTransform(): void;
153
163
  }