mirage2d 1.2.12 → 1.2.14

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/128.ico ADDED
Binary file
package/dist/64.ico ADDED
Binary file
@@ -29,6 +29,7 @@ export declare const enum drawtype {
29
29
  * 画线
30
30
  */
31
31
  Line = "LineString",
32
+ MultiLineString = "MultiLineString",
32
33
  /**
33
34
  * 画面
34
35
  */
@@ -8,5 +8,40 @@
8
8
  import { baseGraphicLayer } from "../../base/baseGraphicLayer";
9
9
  import { IGraphicLayerOption } from "../../base/baseOptionType";
10
10
  export declare class kmlLayer extends baseGraphicLayer {
11
+ styleOptions: {
12
+ Font: string;
13
+ FontColor: string;
14
+ FontStrokeColor: string;
15
+ FontStrokeWidth: number;
16
+ FontoffsetX: number;
17
+ FontoffsetY: number;
18
+ fillcolor: string;
19
+ strokecolor: string;
20
+ strokewidth: number;
21
+ radius: number;
22
+ scale: number;
23
+ text: string;
24
+ };
11
25
  constructor(layerid: any, options: IGraphicLayerOption);
26
+ /**
27
+ * 设置所有要素样式
28
+ * @description:
29
+ * @param {any} styleOptions
30
+ * @example styleOptions 内容
31
+ * {
32
+ Font: "12px Microsoft YaHei",
33
+ FontColor: "#8B4513",
34
+ FontStrokeColor: "#fff",
35
+ FontStrokeWidth: 2,
36
+ FontoffsetX: 0,
37
+ FontoffsetY: -10,
38
+ fillcolor: "rgba(0, 153, 255,1)",
39
+ strokecolor: "rgba(255, 255, 255,1)", // 通过要素拿到具体的值
40
+ strokewidth: 1,
41
+ radius: 10,
42
+ scale: 1,
43
+ text: "标注示例" //可以用{字段名}格式化显示字段
44
+ }
45
+ */
46
+ setSymbol(styleOptions: any): void;
12
47
  }
@@ -24,6 +24,7 @@ export { TileXyzLayer } from "./tileLayer/TileXyzLayer";
24
24
  export { ArcGisMapServerLayer } from "./tileLayer/ArcGisMapServerLayer";
25
25
  export { ArcGisTileXyzLayer } from "./tileLayer/ArcGisTileXyzLayer";
26
26
  export { WmsLayer } from "./tileLayer/WmsLayer";
27
+ export { WmsTileLayer } from "./tileLayer/WmsTileLayer";
27
28
  export { WmtsLayer } from "./tileLayer/WmtsLayer";
28
29
  export { TifLayer } from "./tileLayer/TifLayer";
29
30
  export { imageLayer } from "./tileLayer/imageLayer";
@@ -166,7 +166,7 @@ export declare class baseGraphicLayer extends baseLayer {
166
166
  * @param {string} str
167
167
  * @returns {string}
168
168
  */
169
- private replaceField;
169
+ replaceField(str: string): any;
170
170
  /**
171
171
  * 设置所有要素样式
172
172
  * @description:
@@ -409,7 +409,7 @@
409
409
  "name": "离线252",
410
410
  "type": "xyz",
411
411
  "icon": "image/basemaps/gaode_img.png",
412
- "url": "http://localhost:5141/api/Image/Google/?z={z}&x={y}&y={x}"
412
+ "url": "https://dreamscape.hsk.top/api/Image/Google?z={z}&x={x}&y={y}"
413
413
  },
414
414
  {
415
415
  "id": 2022,
@@ -435,11 +435,8 @@
435
435
  "type": "WmsTileLayer",
436
436
  "icon": "img/basemaps/googlemap.png",
437
437
  "params": { "LAYERS": "CIS_VSEGEI_200K_BLS", "TILED": true },
438
-
439
-
440
438
  "transition": 0,
441
439
  "ratio": 1,
442
-
443
440
  "url": "http://wms.vsegei.ru/VSEGEI_Bedrock_geology2/wms",
444
441
  "zIndex": 902,
445
442
  "format": "image/png"
@@ -449,7 +446,7 @@
449
446
  "name": "GenshtabCom",
450
447
  "type": "xyz",
451
448
  "icon": "img/basemaps/googlemap.png",
452
- "url": "http://47.93.156.3:2023/xddata/proxy.ashx?type=jpgurl=/anygis/cgi-bin/tapp/tilecache.py/1.0.0/topomapper_v2/{z}/{x}/{y}.jpg"
449
+ "url": "http://47.93.156.3:2023/xddata/proxy.ashx?/anygis/cgi-bin/tapp/tilecache.py/1.0.0/topomapper_v2/{z}/{x}/{y}.jpg"
453
450
  },
454
451
  {
455
452
  "pid": 10,
@@ -495,5 +492,5 @@
495
492
  }
496
493
  ]
497
494
  },
498
- "appkey": "*U2FsdGVkX1/19j2z2MK5vtnWJ2F4KHqCIQVZHEtbLziV8NneBNX5P7wOrH+WpWLyRYyH3F/aj/v1XEFypMxTClkO4lBP21vfPIqoQPj2P2RsktR49hmKuA=="
495
+ "appkey": "U2FsdGVkX1/E/gEtiRF49UqrMBSYgmA5+IWucbjE2SAFvEy2NVzrj5tnNVlKVRpXDVjj+dHRaUgCOpLCWr26ggiJeOIlt+WuC6C9L595o7MAIlaNGwQNJA=="
499
496
  }
package/dist/favicon.ico CHANGED
Binary file