mirage2d 1.1.96 → 1.1.98
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.
- package/dist/Layer/XMap.d.ts +4 -4
- package/dist/Layer/graphicLayer/ArcGisFeatureServiceLayer.d.ts +2 -2
- package/dist/Tools/SpatialAnalysis.d.ts +12 -0
- package/dist/Tools/secret.d.ts +17 -3
- package/dist/base/baseGraphicLayer.d.ts +1 -1
- package/dist/base/baseOptionType.d.ts +5 -0
- package/dist/config/json/mapConfig.json +1 -1
- package/dist/extend/Control/imageHJ.d.ts +9 -0
- package/dist/mirage2d.cjs.js +37 -37
- package/dist/mirage2d.umd.js +37 -37
- package/package.json +2 -1
package/dist/Layer/XMap.d.ts
CHANGED
|
@@ -246,10 +246,10 @@ export declare class MirageMap extends baseMap {
|
|
|
246
246
|
*/
|
|
247
247
|
hideMultiWindow(): void;
|
|
248
248
|
/**
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
249
|
+
* @description: 设置地图参数
|
|
250
|
+
* @param {string} key
|
|
251
|
+
* @param {string} val
|
|
252
|
+
*/
|
|
253
253
|
setOptions(key: string, val: any): void;
|
|
254
254
|
destroy(): void;
|
|
255
255
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { baseGraphicLayer } from "../../base/baseGraphicLayer";
|
|
2
|
-
import {
|
|
2
|
+
import { IArcGisFeatureOption } from "../../base/baseOptionType";
|
|
3
3
|
export declare class ArcGisFeatureServiceLayer extends baseGraphicLayer {
|
|
4
|
-
constructor(layerid: string, options?:
|
|
4
|
+
constructor(layerid: string, options?: IArcGisFeatureOption);
|
|
5
5
|
}
|
|
@@ -171,6 +171,18 @@ export declare class SpatialAnalysis {
|
|
|
171
171
|
*/
|
|
172
172
|
static transTo3857(box: any): olExtent.Extent;
|
|
173
173
|
/**
|
|
174
|
+
* @description: 获取要素范围
|
|
175
|
+
* @param {Feature<Geometry>} 要素Feature
|
|
176
|
+
* @return {Extent} 计算后结果[x1,y1,x2,y2]
|
|
177
|
+
*/
|
|
178
|
+
static getFeatureExtent(feature: Feature<Geometry>): olExtent.Extent;
|
|
179
|
+
/**
|
|
180
|
+
* @description: 获取要素坐标
|
|
181
|
+
* @param {Feature<Geometry>} 要素Feature
|
|
182
|
+
* @return {Coordinates} 计算后结果[x1,y1]
|
|
183
|
+
*/
|
|
184
|
+
static getFeatureCoord(feature: Feature<Geometry>): any;
|
|
185
|
+
/**
|
|
174
186
|
* @description: 取区域内的随机点,默认在中国范围内
|
|
175
187
|
* @param {Extent} box
|
|
176
188
|
* @return {*} 计算后结果
|
package/dist/Tools/secret.d.ts
CHANGED
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
export declare class Secret {
|
|
2
2
|
constructor();
|
|
3
3
|
getMessage(): void;
|
|
4
|
-
|
|
4
|
+
scanApk(apkinfo: string, ver: string): boolean;
|
|
5
|
+
getVersionsInfo(ver: string): {
|
|
6
|
+
name: string;
|
|
7
|
+
Copyright: string;
|
|
8
|
+
expirationDate: string;
|
|
9
|
+
Author: string;
|
|
10
|
+
EndUser: string;
|
|
11
|
+
version: string;
|
|
12
|
+
ContactUs: string;
|
|
13
|
+
};
|
|
14
|
+
getVersionsInfo2(userinfo: string, ver: string): {
|
|
15
|
+
name: string;
|
|
16
|
+
version: string;
|
|
17
|
+
Copyright: string;
|
|
18
|
+
};
|
|
5
19
|
/**
|
|
6
20
|
* @description:加密
|
|
7
21
|
* @param {*}
|
|
8
22
|
* @return {*}
|
|
9
23
|
*/
|
|
10
|
-
Encrypt1
|
|
24
|
+
private Encrypt1;
|
|
11
25
|
/**
|
|
12
26
|
* @description: 解密
|
|
13
27
|
* @param {string} word
|
|
14
28
|
* @return {*}
|
|
15
29
|
*/
|
|
16
|
-
Decrypt1
|
|
30
|
+
private Decrypt1;
|
|
17
31
|
}
|
|
@@ -20,7 +20,7 @@ export declare class baseGraphicLayer extends baseLayer {
|
|
|
20
20
|
endMove(): void;
|
|
21
21
|
startEdit(): void;
|
|
22
22
|
endEdit(): void;
|
|
23
|
-
bindContextmenu(menu
|
|
23
|
+
bindContextmenu(menu?: any): void;
|
|
24
24
|
unbindContextmenu(): void;
|
|
25
25
|
appendContextmenu(menu: any): void;
|
|
26
26
|
protected _setFeatureContextmenu(feature: any, contextmenu: any): void;
|
|
@@ -88,6 +88,11 @@ export interface IGraphicLayerOption extends ILayerOption {
|
|
|
88
88
|
hashMove?: boolean;
|
|
89
89
|
hashSelect?: boolean;
|
|
90
90
|
}
|
|
91
|
+
export interface IArcGisFeatureOption extends IGraphicLayerOption {
|
|
92
|
+
where?: string;
|
|
93
|
+
outFields?: string;
|
|
94
|
+
extent?: Array<number>;
|
|
95
|
+
}
|
|
91
96
|
export interface IImageCanvasLayerOption extends ILayerOption {
|
|
92
97
|
line1Style?: string;
|
|
93
98
|
line1Width: number;
|
|
@@ -461,5 +461,5 @@
|
|
|
461
461
|
}
|
|
462
462
|
]
|
|
463
463
|
},
|
|
464
|
-
"appkey": "
|
|
464
|
+
"appkey": "*U2FsdGVkX1/19j2z2MK5vtnWJ2F4KHqCIQVZHEtbLziV8NneBNX5P7wOrH+WpWLyRYyH3F/aj/v1XEFypMxTClkO4lBP21vfPIqoQPj2P2RsktR49hmKuA=="
|
|
465
465
|
}
|