mirage2d 1.2.10 → 1.2.12

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.
@@ -54,6 +54,7 @@ export declare const enum layertype {
54
54
  imageLayer = "imageLayer",
55
55
  TileGroupLayer = "TileGroupLayer",
56
56
  WmsLayer = "WmsLayer",
57
+ WmsTileLayer = "WmsTileLayer",
57
58
  tencent = "tencent",
58
59
  baidu = "baidu",
59
60
  group = "group"
@@ -124,6 +124,11 @@ export declare class MirageMap extends baseMap {
124
124
  * @returns {any} layer
125
125
  */
126
126
  getLayer(layerid: string): any;
127
+ /**
128
+ * 获取配置的底图数组
129
+ * @returns {any} layer
130
+ */
131
+ getBasemaps(): any;
127
132
  /**
128
133
  * 获取用户定义的图层
129
134
  * @param {string} layerid
@@ -13,7 +13,7 @@ export declare class ClusterLayer extends baseGraphicLayer {
13
13
  option: IClusterLayerOption;
14
14
  clusterSource: Cluster;
15
15
  selectCluster: any;
16
- constructor(layerid: string, options: IClusterLayerOption);
16
+ constructor(layerid: string, options?: IClusterLayerOption);
17
17
  appendTo(map: any): void;
18
18
  showTitle(dataType: string, isShow: boolean): void;
19
19
  addFeaturesMN(map: any, nb: any): void;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @author: xd
3
+ * @Date: 2022-01-13 22:43:45
4
+ * @LastEditors: xd
5
+ * @LastEditTime: 2022-11-26 13:07:34
6
+ * @Description: 功能
7
+ */
8
+ import { baseTileLayer } from "../../base/baseTileLayer";
9
+ export declare class WmsTileLayer extends baseTileLayer {
10
+ /**
11
+ * WmsLayer
12
+ * @template {Options} Options
13
+ * @param {string} [layerid='WmsTileLayer'] 默认图层id
14
+ * @param {Options} [Options] Options 配置项
15
+ */
16
+ constructor(layerid: string, Options: any);
17
+ }