@mapgis/webclient-cesium-plugin 17.2.4 → 17.2.5

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.
@@ -0,0 +1,313 @@
1
+ <header id="page-title" class="page-title">
2
+
3
+ <span class="page-title-main">类名</span>
4
+ <span class="page-title-sub">CircleWaveMaterialProperty</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="CircleWaveMaterialProperty">
26
+ <a class="href-link" href="#CircleWaveMaterialProperty">#</a>
27
+
28
+ <span class="code-name" id="CircleWaveMaterialProperty" style="font-size:30px">
29
+
30
+ new CircleWaveMaterialProperty<span class="signature">(options)</span>
31
+
32
+ </span>
33
+ </h4>
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <h4>参数</h4>
47
+
48
+ <div class="table-container">
49
+ <table class="params table">
50
+ <thead>
51
+ <tr>
52
+
53
+ <th>名称</th>
54
+
55
+
56
+ <th>类型</th>
57
+
58
+
59
+
60
+ <th class="last">描述</th>
61
+ </tr>
62
+ </thead>
63
+
64
+ <tbody>
65
+
66
+
67
+
68
+ <tr class="deep-level-0">
69
+
70
+ <td class="name"><code>options</code></td>
71
+
72
+
73
+ <td class="type">
74
+
75
+
76
+ <span class="param-type">
77
+
78
+ Object
79
+
80
+ </span>
81
+
82
+
83
+
84
+
85
+ </td>
86
+
87
+
88
+
89
+ <td class="description last"><p>附加属性</p></td>
90
+ </tr>
91
+
92
+
93
+
94
+
95
+ <tr class="deep-level-1">
96
+
97
+ <td class="name"><code>color</code></td>
98
+
99
+
100
+ <td class="type">
101
+
102
+
103
+ <span class="param-type">
104
+
105
+ Cesium.Color
106
+
107
+ </span>
108
+
109
+
110
+
111
+
112
+ </td>
113
+
114
+
115
+
116
+ <td class="description last"><p>颜色</p></td>
117
+ </tr>
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+ <tr class="deep-level-0">
128
+
129
+ <td class="name"><code>option.duration</code></td>
130
+
131
+
132
+ <td class="type">
133
+
134
+
135
+ <span class="param-type">
136
+
137
+ Number
138
+
139
+ </span>
140
+
141
+
142
+
143
+
144
+ </td>
145
+
146
+
147
+
148
+ <td class="description last"><p>持续时间 毫秒</p></td>
149
+ </tr>
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <tr class="deep-level-0">
157
+
158
+ <td class="name"><code>options.count</code></td>
159
+
160
+
161
+ <td class="type">
162
+
163
+
164
+ <span class="param-type">
165
+
166
+ Number
167
+
168
+ </span>
169
+
170
+
171
+
172
+
173
+ </td>
174
+
175
+
176
+
177
+ <td class="description last"><p>波纹数量</p></td>
178
+ </tr>
179
+
180
+
181
+
182
+
183
+
184
+
185
+ <tr class="deep-level-0">
186
+
187
+ <td class="name"><code>options.gradient</code></td>
188
+
189
+
190
+ <td class="type">
191
+
192
+
193
+ <span class="param-type">
194
+
195
+ Number
196
+
197
+ </span>
198
+
199
+
200
+
201
+
202
+ </td>
203
+
204
+
205
+
206
+ <td class="description last"><p>梯度拖尾效果,取值范围[0,1]</p></td>
207
+ </tr>
208
+
209
+
210
+
211
+
212
+ </tbody>
213
+ </table>
214
+ </div>
215
+
216
+
217
+
218
+
219
+
220
+
221
+ <dl class="details">
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+ <dt class="tag-author">作者:</dt>
241
+ <dd class="tag-author">
242
+ <ul>
243
+ <li>zlf</li>
244
+ </ul>
245
+ </dd>
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+ </dl>
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+ </div>
286
+ </div>
287
+ </div>
288
+
289
+
290
+ </div>
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+ </article>
312
+
313
+ </section>
@@ -2231,7 +2231,25 @@
2231
2231
  <h5>示例</h5>
2232
2232
 
2233
2233
 
2234
- <pre class="prettyprint"><code>var cutTool = new Cesium.CuttingTool(viewer, layerList);
2235
2234
  113.0406, 30.0378,
2236
2235
  113.0595, 30.0378,
2237
2236
  113.0595, 30.0297,
2238
2237
  113.0762, 30.0297,
2239
2238
  113.0762, 30.0179,
2240
2239
  113.0595, 30.0179,
2241
2240
  113.0595, 30.0099,
2242
2241
  113.0406, 30.0099
2243
2242
  //裁剪方向,false:原方向,true反方向
2244
2243
  unionClippingRegions: false,
2245
2244
  //配置裁剪体的颜色,以及透明度
2246
2245
  color: new Cesium.Cesium.Color(1, 1, 1, 0.2),
2247
2246
  //是否显示裁剪体
2248
2247
  showCuttingPlane: true
2248
+ <pre class="prettyprint"><code>var cutTool = new Cesium.CuttingTool(viewer, layerList);
2249
+ var positions = [
2250
+ 113.0406, 30.0378,
2251
+ 113.0595, 30.0378,
2252
+ 113.0595, 30.0297,
2253
+ 113.0762, 30.0297,
2254
+ 113.0762, 30.0179,
2255
+ 113.0595, 30.0179,
2256
+ 113.0595, 30.0099,
2257
+ 113.0406, 30.0099
2258
+ ];
2259
+ cutTool.createModelCuttingPolygon(positions, -1000, 500, {
2260
+ //裁剪方向,false:原方向,true反方向
2261
+ unionClippingRegions: false,
2262
+ //配置裁剪体的颜色,以及透明度
2263
+ color: new Cesium.Cesium.Color(1, 1, 1, 0.2),
2264
+ //是否显示裁剪体
2265
+ showCuttingPlane: true
2266
+ })</code></pre>
2249
2267
 
2250
2268
 
2251
2269
 
@@ -2892,7 +2910,9 @@
2892
2910
  <h5>示例</h5>
2893
2911
 
2894
2912
 
2895
- <pre class="prettyprint"><code>var cutTool = new Cesium.CuttingTool(viewer, layerList);
2913
+ <pre class="prettyprint"><code>var cutTool = new Cesium.CuttingTool(viewer, layerList);
2914
+
2915
+ cutTool.removeAll();</code></pre>
2896
2916
 
2897
2917
 
2898
2918
 
@@ -160,7 +160,7 @@
160
160
  <h5>示例</h5>
161
161
 
162
162
 
163
- <pre class="prettyprint"><code>let drawElement = new Cesium.DrawElement();
163
+ <pre class="prettyprint"><code>var drawElement = new Cesium.DrawElement();
164
164
  // 修改绘制类型,支持,贴地,贴模型等参数设置</code></pre>
165
165
 
166
166
 
@@ -715,11 +715,11 @@
715
715
  <h5>示例</h5>
716
716
 
717
717
 
718
- <pre class="prettyprint"><code>let drawElement = new Cesium.DrawElement(viewer);
718
+ <pre class="prettyprint"><code>var drawElement = new Cesium.DrawElement(viewer);
719
719
  drawElement.startDrawingCircle({
720
720
  color: new Cesium.Color(0.2, 0.4, 0.3, 1.0),
721
721
  callback: function (result) {
722
- let circle = new Cesium.DrawElement.CirclePrimitive({
722
+ var circle = new Cesium.DrawElement.CirclePrimitive({
723
723
  center: result.center,
724
724
  radius: result.radius,
725
725
  height: result.height,
@@ -914,11 +914,11 @@ drawElement.startDrawingCircle({
914
914
  <h5>示例</h5>
915
915
 
916
916
 
917
- <pre class="prettyprint"><code>let drawElement = new Cesium.DrawElement(viewer);
917
+ <pre class="prettyprint"><code>var drawElement = new Cesium.DrawElement(viewer);
918
918
  drawElement.startDrawingExtent({
919
919
  color: new Cesium.Color(0.3, 0.8, 0.7),
920
920
  callback: function (result) {
921
- let redRectangle = new Cesium.DrawElement.ExtentPrimitive({
921
+ var redRectangle = new Cesium.DrawElement.ExtentPrimitive({
922
922
  extent: result.extent,
923
923
  height: result.height,
924
924
  material: Cesium.Material.fromType('Color', {
@@ -1111,7 +1111,7 @@ drawElement.startDrawingExtent({
1111
1111
  <h5>示例</h5>
1112
1112
 
1113
1113
 
1114
- <pre class="prettyprint"><code>let drawElement = new Cesium.DrawElement(viewer);
1114
+ <pre class="prettyprint"><code>var drawElement = new Cesium.DrawElement(viewer);
1115
1115
  drawElement.startDrawingMarker({
1116
1116
  addDefaultMark: true,
1117
1117
  color: new Cesium.Color(0.5, 0.2, 0.8, 1.0),
@@ -1122,7 +1122,7 @@ drawElement.startDrawingMarker({
1122
1122
  addDefaultMark: false,
1123
1123
  color: new Cesium.Color(0.5, 0.2, 0.8, 1.0),
1124
1124
  callback: function (result) {
1125
- let pointGeometry = viewer.entities.add({
1125
+ var pointGeometry = viewer.entities.add({
1126
1126
  position: result.position,
1127
1127
  point: {
1128
1128
  color: Cesium.Color.SKYBLUE,
@@ -1315,12 +1315,12 @@ drawElement.startDrawingMarker({
1315
1315
  <h5>示例</h5>
1316
1316
 
1317
1317
 
1318
- <pre class="prettyprint"><code>let drawElement = new Cesium.DrawElement(viewer);
1318
+ <pre class="prettyprint"><code>var drawElement = new Cesium.DrawElement(viewer);
1319
1319
  drawElement.startDrawingPolygon({
1320
1320
  color: new Cesium.Color(0.5, 0.8, 0.3),
1321
1321
  callback: function (result) {
1322
1322
  //alert(position);
1323
- let polygon = new Cesium.DrawElement.PolygonPrimitive({
1323
+ var polygon = new Cesium.DrawElement.PolygonPrimitive({
1324
1324
  positions: result.positions,
1325
1325
  //material: Cesium.Material.fromType('Checkerboard') //materialEnd
1326
1326
  material: Cesium.Material.fromType('Color', {
@@ -1513,11 +1513,11 @@ drawElement.startDrawingPolygon({
1513
1513
  <h5>示例</h5>
1514
1514
 
1515
1515
 
1516
- <pre class="prettyprint"><code>let drawElement = new Cesium.DrawElement(viewer);
1516
+ <pre class="prettyprint"><code>var drawElement = new Cesium.DrawElement(viewer);
1517
1517
  drawElement.startDrawingPolyline({
1518
1518
  color: new Cesium.Color(0.3, 0.7, 0.8, 1.0),
1519
1519
  callback: function (result) {
1520
- let polyline = new Cesium.DrawElement.PolylinePrimitive({
1520
+ var polyline = new Cesium.DrawElement.PolylinePrimitive({
1521
1521
  positions: result.positions,
1522
1522
  width: 1,
1523
1523
  geodesic: true
@@ -1624,7 +1624,7 @@ drawElement.startDrawingPolyline({
1624
1624
  <h5>示例</h5>
1625
1625
 
1626
1626
 
1627
- <pre class="prettyprint"><code>let drawElement = new Cesium.DrawElement(viewer);
1627
+ <pre class="prettyprint"><code>var drawElement = new Cesium.DrawElement(viewer);
1628
1628
  drawElement.stopDrawing();</code></pre>
1629
1629
 
1630
1630