mirage2d 1.2.14 → 1.2.16

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.
@@ -47,6 +47,7 @@ export declare class MirageMap extends baseMap {
47
47
  Proj: proj;
48
48
  private splitInteraction;
49
49
  private _multiWindow;
50
+ private highFeature;
50
51
  constructor(mapID: string, option: any);
51
52
  private _addTipElement;
52
53
  /**
@@ -24,24 +24,24 @@ export declare class kmlLayer extends baseGraphicLayer {
24
24
  };
25
25
  constructor(layerid: any, options: IGraphicLayerOption);
26
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
- */
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
46
  setSymbol(styleOptions: any): void;
47
47
  }
@@ -25,44 +25,44 @@ export declare class WfsLayer extends GraphicLayer {
25
25
  defaultExtent: any;
26
26
  isLoading: boolean;
27
27
  /**
28
- * 设置要素属性
29
- * @param {string} layerid
30
- * @param {IWFSFeatureOption} options 要素属性数组
31
- * @example IWFSFeatureOption 中queryParams默认属性
32
- * queryParams = {
33
- service: "WFS",
34
- request: "GetFeature",
35
- version: "1.0.0",
36
- outputFormat: "application/json",
37
- maxFeatures: "1000",
38
- typeName: "mars:hfjy",
39
- bbox: "", // 范围,不传递时默认当前视图范围
40
- filter: "", // 空间查询条件,当传递feature时系统自动生成 也可以自行配置GML格式
41
- queryField: "", //属性查询字段
42
- querykeyword: "",//属性查询字段关键字
43
- autoShowFeature: false//自动显示,默认关闭,打开时会根据视图变化自动加载数据
44
- }
45
- */
28
+ * 设置要素属性
29
+ * @param {string} layerid
30
+ * @param {IWFSFeatureOption} options 要素属性数组
31
+ * @example IWFSFeatureOption 中queryParams默认属性
32
+ * queryParams = {
33
+ service: "WFS",
34
+ request: "GetFeature",
35
+ version: "1.0.0",
36
+ outputFormat: "application/json",
37
+ maxFeatures: "1000",
38
+ typeName: "mars:hfjy",
39
+ bbox: "", // 范围,不传递时默认当前视图范围
40
+ filter: "", // 空间查询条件,当传递feature时系统自动生成 也可以自行配置GML格式
41
+ queryField: "", //属性查询字段
42
+ querykeyword: "",//属性查询字段关键字
43
+ autoShowFeature: false//自动显示,默认关闭,打开时会根据视图变化自动加载数据
44
+ }
45
+ */
46
46
  constructor(layerid: string, options?: IWFSFeatureOption);
47
47
  private queryData;
48
48
  /**
49
- * :查询数据方法
50
- * @param {any} queryParams 可根据wfs查询参数自定义配置
51
- * @example 默认属性
52
- * queryParams = {
53
- service: "WFS",
54
- request: "GetFeature",
55
- version: "1.0.0",
56
- outputFormat: "application/json",
57
- maxFeatures: "1000",
58
- typeName: "mars:hfjy",
59
- feature: //地图上绘制的feature:
60
- bbox: "", // 范围,不传递时默认当前视图范围
61
- filter: "", // 空间查询条件,当传递feature时系统自动生成 也可以自行配置GML格式
62
- queryField: "", //属性查询字段
63
- querykeyword: "",//属性查询字段关键字
64
- autoShowFeature: false//自动显示,默认关闭,打开时会根据视图变化自动加载数据
65
- }
66
- */
49
+ * :查询数据方法
50
+ * @param {any} queryParams 可根据wfs查询参数自定义配置
51
+ * @example 默认属性
52
+ * queryParams = {
53
+ service: "WFS",
54
+ request: "GetFeature",
55
+ version: "1.0.0",
56
+ outputFormat: "application/json",
57
+ maxFeatures: "1000",
58
+ typeName: "mars:hfjy",
59
+ feature: //地图上绘制的feature:
60
+ bbox: "", // 范围,不传递时默认当前视图范围
61
+ filter: "", // 空间查询条件,当传递feature时系统自动生成 也可以自行配置GML格式
62
+ queryField: "", //属性查询字段
63
+ querykeyword: "",//属性查询字段关键字
64
+ autoShowFeature: false//自动显示,默认关闭,打开时会根据视图变化自动加载数据
65
+ }
66
+ */
67
67
  query(queryParams?: {}): void;
68
68
  }
@@ -17,5 +17,6 @@ export declare class PbfLayer extends baseLayer {
17
17
  strokeWidth: number;
18
18
  }];
19
19
  });
20
+ tileUrlFunction(tileCoord: any, url: any): string;
20
21
  appendTo(map: MirageMap): void;
21
22
  }