mirage2d 1.2.3 → 1.2.4

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.
@@ -1,3 +1,10 @@
1
+ /**
2
+ * @author: xd
3
+ * @Date: 2022-01-13 22:43:45
4
+ * @LastEditors: xd
5
+ * @LastEditTime: 2023-06-02 16:42:40
6
+ * @Description: 功能
7
+ */
1
8
  import { IArcGisFeatureOption } from "../../base/baseOptionType";
2
9
  import { GraphicLayer } from "./GraphicLayer";
3
10
  export declare class ArcGisFeatureServiceLayer extends GraphicLayer {
@@ -1,6 +1,11 @@
1
1
  import { baseLayer } from "../../base/baseLayer";
2
+ import { MirageMap } from "../XMap";
2
3
  export declare class PbfLayer extends baseLayer {
3
4
  private _source;
5
+ private isLoading;
6
+ queryParams: {
7
+ onlyField: string;
8
+ };
4
9
  constructor(layerid: string, options: {
5
10
  url: string;
6
11
  zIndex: number;
@@ -12,4 +17,5 @@ export declare class PbfLayer extends baseLayer {
12
17
  strokeWidth: number;
13
18
  }];
14
19
  });
20
+ appendTo(map: MirageMap): void;
15
21
  }
@@ -26,7 +26,6 @@
26
26
  }
27
27
  },
28
28
  "basemaps": [
29
-
30
29
  {
31
30
  "pid": 10,
32
31
  "name": "天地图卫星",
@@ -53,7 +52,6 @@
53
52
  }
54
53
  ]
55
54
  },
56
-
57
55
  {
58
56
  "pid": 10,
59
57
  "name": "百度卫星",
@@ -78,7 +76,6 @@
78
76
  }
79
77
  ]
80
78
  },
81
-
82
79
  {
83
80
  "pid": 10,
84
81
  "name": "高德卫星",
@@ -143,7 +140,6 @@
143
140
  }
144
141
  ]
145
142
  },
146
-
147
143
  {
148
144
  "id": 2017,
149
145
  "pid": 10,
@@ -180,7 +176,6 @@
180
176
  "chinaCRS": "baidu09",
181
177
  "subdomains": "0,1,2,3"
182
178
  },
183
-
184
179
  {
185
180
  "id": 2021,
186
181
  "pid": 10,
@@ -190,10 +185,6 @@
190
185
  "url": "http://wprd0{1-4}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}",
191
186
  "chinaCRS": "GCJ02"
192
187
  },
193
-
194
-
195
-
196
-
197
188
  {
198
189
  "pid": 10,
199
190
  "name": "腾讯地图",
@@ -210,8 +201,6 @@
210
201
  "icon": "image/basemaps/02/星图地图.png",
211
202
  "url": "https://tiles{1-3}.geovisearth.com/base/v1/vec/{z}/{x}/{y}?format=webp&&token=934e80b8d980d48b95d452cbcda6aff82b2d1e61ea76c776acc51f469d9f6d56"
212
203
  },
213
-
214
-
215
204
  {
216
205
  "id": 2017,
217
206
  "pid": 10,
@@ -255,7 +244,6 @@
255
244
  "url": "http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetGray/MapServer",
256
245
  "chinaCRS": "GCJ02"
257
246
  },
258
-
259
247
  {
260
248
  "id": 2017,
261
249
  "pid": 10,
@@ -283,7 +271,6 @@
283
271
  "chinaCRS": "GCJ02",
284
272
  "subdomains": "0,1,2,3"
285
273
  },
286
-
287
274
  {
288
275
  "id": 2021,
289
276
  "pid": 10,
@@ -309,7 +296,6 @@
309
296
  "icon": "image/basemaps/02/ArcGis卫星.png",
310
297
  "url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
311
298
  },
312
-
313
299
  {
314
300
  "id": 2017,
315
301
  "pid": 10,
@@ -423,7 +409,7 @@
423
409
  "name": "离线影像2",
424
410
  "type": "xyz",
425
411
  "icon": "image/basemaps/gaode_img.png",
426
- "url": "//192.168.28.201:9888/{z}/{x}/{y}.png"
412
+ "url": "http://192.168.28.251:8111/google/{z}/{x}/{y}.png"
427
413
  },
428
414
  {
429
415
  "id": 2017,
@@ -434,7 +420,6 @@
434
420
  "url": "http://117.34.118.124:7535/四川/江口/2021.11.20-11.22/_alllayers/{z}/{y}/{x}.png",
435
421
  "chinaCRS": "GCJ02"
436
422
  }
437
-
438
423
  ],
439
424
  "operationallayers": [
440
425
  {
@@ -36,28 +36,31 @@ export declare class tykg extends base {
36
36
  north: boolean;
37
37
  createExtent: never[];
38
38
  excludeExtent: never[];
39
+ step: number;
39
40
  };
40
41
  constructor();
41
42
  /**
42
43
  * 创建探方
43
44
  * @param {object} options 参数
45
+ * @ 各项参数描述
44
46
  * @param {Array.<number>} [options.startPoint=[510367.2358, 2895576.008]] 起点坐标,西南角
45
- * @param {number} [options.startNumberX=1] - startNumberX 东方向起始号
46
- * @param {number} [options.startNumberY=1] - startNumberY 北方向起始号
47
- * @param {number} [options.maxWidth=100] - maxWidth 最大宽度范围,东方向总长度
48
- * @param {number} [options.maxHeight=100] - maxHeight 最大高度范围,北方向总长度
49
- * @param {number} [options.onlyWidth=5] - onlyWidth, 单探方宽度
50
- * @param {number} [options.onlyHeight=5] - onlyHeight,单探方高度
51
- * @param {number} [options.quadrant=1] - quadrant, 象限【1,2,3,4】
52
- * @param {string} [options.fqChar=1] - fqChar,分区号
47
+ * @param {number} [options.startNumberX=1] - startNumberX 东方向起始号 默认:1
48
+ * @param {number} [options.startNumberY=1] - startNumberY 北方向起始号 默认:1
49
+ * @param {number} [options.maxWidth=100] - maxWidth 最大宽度范围,东方向总长度 默认:100
50
+ * @param {number} [options.maxHeight=100] - maxHeight 最大高度范围,北方向总长度 默认:100
51
+ * @param {number} [options.onlyWidth=5] - onlyWidth, 单探方宽度 默认:5
52
+ * @param {number} [options.onlyHeight=5] - onlyHeight,单探方高度 默认:5
53
+ * @param {number} [options.quadrant=1] - quadrant, 象限【1,2,3,4】 默认:1
54
+ * @param {string} [options.fqChar=1] - fqChar,分区号 默认:""
53
55
  * @param {string} [options.firstChar="T"] - firstChar,编号首字符,默认是T
54
- * @param {string} [options.xChar=""] - xChar,x编号首字符
55
- * @param {string} [options.yChar=""] - yChar,y编号首字符
56
- * @param {boolean} [options.xReverseOrder=false] - xReverseOrder,X反向编号,从大到小
57
- * @param {boolean} [options.yReverseOrder=false] - yReverseOrder, Y反向编号,从大到小
58
- * @param {string} options.wkid - wkid, wkid编号,不需要带【EPSG:】
59
- * @param {string} options.digit - 编号为位数,默认两位数
60
- * @param {string} options.north - 默认北方向在前
56
+ * @param {string} [options.xChar=""] - xChar,x编号首字符 默认:""
57
+ * @param {string} [options.yChar=""] - yChar,y编号首字符 默认:""
58
+ * @param {boolean} [options.xReverseOrder=false] - xReverseOrder,X反向编号,从大到小 默认:false
59
+ * @param {boolean} [options.yReverseOrder=false] - yReverseOrder, Y反向编号,从大到小 默认:false
60
+ * @param {string} options.wkid - wkid, 输入值的wkid编号,不需要带【EPSG:】 默认:""
61
+ * @param {string} options.digit - 编号为位数,默认两位数 100
62
+ * @param {boolean} options.north - 北方向在前 默认:true
63
+ * @param {number} options.step - 布方步长 默认: 1
61
64
  * @param {object} [options.createExtent] createExtent -绘制的外多变形限制范围
62
65
  * @param {object} [options.excludeExtent] createExtent -绘制的外多变形限制范围
63
66
  * @returns {*} 返回标准json数据,坐标系3857,如2000坐标系则返回带有2000坐标系数组