mirage2d 1.2.14 → 1.2.15
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 +1 -0
- package/dist/Layer/graphicLayer/KmlLayer.d.ts +19 -19
- package/dist/Layer/graphicLayer/WfsLayer.d.ts +36 -36
- package/dist/Layer/tileLayer/PbfLayer.d.ts +1 -0
- package/dist/MirageHttp.es.js +5268 -0
- package/dist/MirageHttp.es.js.map +205 -0
- package/dist/MirageHttp.umd.js +2 -0
- package/dist/MirageHttp.umd.js.map +1263 -0
- package/dist/base/baseGraphicLayer.d.ts +125 -125
- package/dist/graphic/baseGraphic.d.ts +4 -4
- package/dist/mirage2d.cjs.js +37 -37
- package/dist/mirage2d.umd.js +37 -37
- package/package.json +1 -1
package/dist/Layer/XMap.d.ts
CHANGED
|
@@ -24,24 +24,24 @@ export declare class kmlLayer extends baseGraphicLayer {
|
|
|
24
24
|
};
|
|
25
25
|
constructor(layerid: any, options: IGraphicLayerOption);
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
}
|