@mapgis/webclient-cesium-plugin 17.2.1 → 17.2.3
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/README.md +20 -3
- package/dist/es5/webclient-cesium-plugin.min.js +5 -7
- package/dist/es5/webclient-common.min.js +3 -3
- package/dist/webclient-cesium-plugin-es6.min.js +5 -7
- package/documention/ArcGISMapServerImageryProvider.html +46 -3
- package/documention/ArcGISTileServerImageryProvider.html +43 -3
- package/documention/ArcGISVectorTileImageryProvider.html +6 -1
- package/documention/FloodAnalysisReflection.html +1282 -0
- package/documention/GeoJSONLayerUtil.html +1 -1
- package/documention/IGSFeatureLayerUtil.html +1 -1
- package/documention/IGSSceneLayerUtil.html +29 -626
- package/documention/ISSceneLayerUtil.html +1131 -0
- package/documention/MapGISMapServerImageryProvider.html +2 -2
- package/documention/MapGISTerrainProvider.html +7554 -1054
- package/documention/MapGISTileServerImageryProvider.html +39 -2
- package/documention/PostProcessStageLibrary.html +1329 -0
- package/documention/S3MTileset.html +268 -0
- package/documention/WFSLayerUtil.html +1 -1
- package/documention/WaterReflection.html +1476 -0
- package/documention/WebMapServiceImageryProvider.html +45 -3
- package/documention/WebMapTileServiceImageryProvider.html +45 -3
- package/documention/index.html +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
<header id="page-title" class="page-title">
|
|
2
|
+
|
|
3
|
+
<span class="page-title-main">类名</span>
|
|
4
|
+
<span class="page-title-sub">S3MTileSet</span>
|
|
5
|
+
|
|
6
|
+
</header>
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
<section>
|
|
13
|
+
|
|
14
|
+
<article>
|
|
15
|
+
<div class="container-overview">
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
<div class='vertical-section'>
|
|
19
|
+
<div class="members">
|
|
20
|
+
<div class="member">
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
<h4 class="name" id="S3MTileSet">
|
|
26
|
+
<a class="href-link" href="#S3MTileSet">#</a>
|
|
27
|
+
|
|
28
|
+
<span class="code-name" id="S3MTileSet" style="font-size:30px">
|
|
29
|
+
|
|
30
|
+
new S3MTileSet<span class="signature">(options)</span>
|
|
31
|
+
|
|
32
|
+
</span>
|
|
33
|
+
</h4>
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<div class="description">
|
|
38
|
+
<p>S3MTileSet类</p>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
<h4>参数</h4>
|
|
51
|
+
|
|
52
|
+
<div class="table-container">
|
|
53
|
+
<table class="params table">
|
|
54
|
+
<thead>
|
|
55
|
+
<tr>
|
|
56
|
+
|
|
57
|
+
<th>名称</th>
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
<th>类型</th>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<th style="min-width: 100px;">默认值</th>
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
<th class="last">描述</th>
|
|
67
|
+
</tr>
|
|
68
|
+
</thead>
|
|
69
|
+
|
|
70
|
+
<tbody>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
<tr class="deep-level-0">
|
|
75
|
+
|
|
76
|
+
<td class="name"><code>options</code></td>
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<td class="type">
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
<span class="param-type">
|
|
83
|
+
|
|
84
|
+
Object
|
|
85
|
+
|
|
86
|
+
</span>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
</td>
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
<td class="default">
|
|
95
|
+
|
|
96
|
+
</td>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<td class="description last"><p>构造参数</p></td>
|
|
100
|
+
</tr>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
<tr class="deep-level-1">
|
|
106
|
+
|
|
107
|
+
<td class="name"><code>url</code></td>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
<td class="type">
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<span class="param-type">
|
|
114
|
+
|
|
115
|
+
String
|
|
116
|
+
|
|
117
|
+
</span>
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
</td>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<td class="default">
|
|
126
|
+
|
|
127
|
+
''
|
|
128
|
+
|
|
129
|
+
</td>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
<td class="description last"><p>服务链接,必填</p></td>
|
|
133
|
+
</tr>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
<tr class="deep-level-1">
|
|
139
|
+
|
|
140
|
+
<td class="name"><code>options</code></td>
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
<td class="type">
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
<span class="param-type">
|
|
147
|
+
|
|
148
|
+
String
|
|
149
|
+
|
|
150
|
+
</span>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
</td>
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
<td class="default">
|
|
159
|
+
|
|
160
|
+
{}
|
|
161
|
+
|
|
162
|
+
</td>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<td class="description last"><p>其他参数,选填</p></td>
|
|
166
|
+
</tr>
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
</tbody>
|
|
175
|
+
</table>
|
|
176
|
+
</div>
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
<dl class="details">
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
</dl>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
</div>
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
</article>
|
|
267
|
+
|
|
268
|
+
</section>
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
<h5>示例</h5>
|
|
361
361
|
|
|
362
362
|
|
|
363
|
-
<pre class="prettyprint"><code>const url = 'http://192.168.82.91:8089/igs/rest/services/Map/湖北省4326/WFSServer'
|
|
364
363
|
const renderer = new SimpleRenderer({
|
|
365
364
|
//...
|
|
366
365
|
})
|
|
367
366
|
// 创建wfsLayer对象
|
|
368
367
|
const wfsLayer = new WFSLayer({
|
|
369
368
|
url,
|
|
370
369
|
sublayerId: 'Map_湖北省4326:t70',
|
|
371
370
|
})
|
|
372
371
|
// 请求获取要素集
|
|
373
372
|
const featureSet = await wfsLayer.queryFeatures()
|
|
374
373
|
const features = featureSet.features
|
|
375
374
|
// 为要素集设置renderer
|
|
376
375
|
RendererUtil.updateRenderer(features, renderer)
|
|
377
376
|
// 将要素集转换为原生Primitive对象
|
|
378
377
|
const primitives = WFSLayerUtil.toPrimitive(features, {
|
|
379
378
|
viewer
|
|
380
379
|
})
|
|
381
380
|
// 将Primitive对象添加到场景中
|
|
382
381
|
for (let i = 0; i < primitives.length; i++) {
|
|
383
382
|
viewer.scene.primitives.add(primitives[i])
|
|
384
383
|
}
|
|
384
|
+
<pre class="prettyprint"><code>const url = 'http://webclient.smaryun.com:8089/igs/rest/services/Map/湖北省4326/WFSServer'
|
|
385
385
|
const renderer = new SimpleRenderer({
|
|
386
386
|
//...
|
|
387
387
|
})
|
|
388
388
|
// 创建wfsLayer对象
|
|
389
389
|
const wfsLayer = new WFSLayer({
|
|
390
390
|
url,
|
|
391
391
|
sublayerId: 'Map_湖北省4326:t70',
|
|
392
392
|
})
|
|
393
393
|
// 请求获取要素集
|
|
394
394
|
const featureSet = await wfsLayer.queryFeatures()
|
|
395
395
|
const features = featureSet.features
|
|
396
396
|
// 为要素集设置renderer
|
|
397
397
|
RendererUtil.updateRenderer(features, renderer)
|
|
398
398
|
// 将要素集转换为原生Primitive对象
|
|
399
399
|
const primitives = WFSLayerUtil.toPrimitive(features, {
|
|
400
400
|
viewer
|
|
401
401
|
})
|
|
402
402
|
// 将Primitive对象添加到场景中
|
|
403
403
|
for (let i = 0; i < primitives.length; i++) {
|
|
404
404
|
viewer.scene.primitives.add(primitives[i])
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
|
|
408
408
|
|