@mapgis/webclient-cesium-plugin 17.2.2 → 17.2.4
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 +17 -0
- package/dist/es5/webclient-cesium-plugin.min.js +3 -3
- package/dist/es5/webclient-common.min.js +3 -3
- package/dist/webclient-cesium-plugin-es6.min.js +3 -3
- package/documention/AlgorithmLib.html +7009 -0
- package/documention/AngulationTool.html +1068 -0
- package/documention/ArcGISMapServerImageryProvider.html +46 -3
- package/documention/ArcGISTileServerImageryProvider.html +43 -3
- package/documention/ArcGISVectorTileImageryProvider.html +6 -1
- package/documention/CesiumTerrainProvider.html +139 -0
- package/documention/CuttingTool.html +2910 -0
- package/documention/Deferred.html +139 -0
- package/documention/DrawElement.html +1643 -0
- package/documention/DrawTool.html +1275 -0
- package/documention/EditTool.html +1839 -0
- package/documention/FloodAnalysisReflection.html +1282 -0
- package/documention/Graphic.html +4789 -0
- package/documention/GraphicsLayer.html +5071 -0
- package/documention/MapGISTerrainProvider.html +16 -2
- package/documention/MapGISTileServerImageryProvider.html +39 -2
- package/documention/MeasureAreaTool.html +1182 -0
- package/documention/MeasureLengthTool.html +2306 -0
- package/documention/MeasureSlopeTool.html +1141 -0
- package/documention/ModelEditor.html +356 -0
- package/documention/PostProcessStageLibrary.html +1329 -0
- package/documention/Promise.html +980 -0
- package/documention/RiverGeometry.html +2659 -0
- package/documention/S3MTileset.html +34 -1
- package/documention/SelectTool.html +784 -0
- package/documention/ShadowRateAnalysis.html +1827 -0
- package/documention/ShadowRateDrawCommand.html +917 -0
- package/documention/Style.html +14203 -0
- package/documention/Tooltip.html +877 -0
- package/documention/TriangulationTool.html +1721 -0
- package/documention/VisiblityAnalysis.html +1998 -0
- package/documention/WaterReflection.html +1476 -0
- package/documention/WebMapServiceImageryProvider.html +45 -3
- package/documention/WebMapTileServiceImageryProvider.html +45 -3
- package/package.json +1 -1
|
@@ -0,0 +1,980 @@
|
|
|
1
|
+
<header id="page-title" class="page-title">
|
|
2
|
+
|
|
3
|
+
<span class="page-title-main">类名</span>
|
|
4
|
+
<span class="page-title-sub">Promise</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="Promise">
|
|
26
|
+
<a class="href-link" href="#Promise">#</a>
|
|
27
|
+
|
|
28
|
+
<span class="code-name" id="Promise" style="font-size:30px">
|
|
29
|
+
|
|
30
|
+
new Promise<span class="signature">()</span>
|
|
31
|
+
|
|
32
|
+
</span>
|
|
33
|
+
</h4>
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<div class="description">
|
|
38
|
+
<p>Trusted Promise constructor. A Promise created from this constructor is
|
|
39
|
+
a trusted when.js promise. Any other duck-typed promise is considered
|
|
40
|
+
untrusted.</p>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
<dl class="details">
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
</dl>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<div class='vertical-section'>
|
|
136
|
+
<h3 id='function'>方法</h3>
|
|
137
|
+
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
138
|
+
<div class="members">
|
|
139
|
+
<div class="table-container">
|
|
140
|
+
<table class="params table">
|
|
141
|
+
<thead>
|
|
142
|
+
<tr>
|
|
143
|
+
<th>名称</th>
|
|
144
|
+
<th>返回值类型</th>
|
|
145
|
+
<th>描述</th>
|
|
146
|
+
</tr>
|
|
147
|
+
</thead>
|
|
148
|
+
<tbody>
|
|
149
|
+
|
|
150
|
+
<tr class="deep-level-0">
|
|
151
|
+
<td class="name"><code><a href="#always">always</a></code></td>
|
|
152
|
+
<td class="name">
|
|
153
|
+
<code>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<span class="param-type">
|
|
157
|
+
|
|
158
|
+
<a link="Promise.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Promise" Promise.html>Promise</a>
|
|
159
|
+
|
|
160
|
+
</span>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
</code>
|
|
166
|
+
</td>
|
|
167
|
+
<td class="name"><code><p>Register a callback that will be called when a promise is
|
|
168
|
+
fulfilled or rejected. Optionally also register a progress handler.
|
|
169
|
+
Shortcut for .then(onFulfilledOrRejected, onFulfilledOrRejected, onProgress)</p></code></td>
|
|
170
|
+
</tr>
|
|
171
|
+
|
|
172
|
+
<tr class="deep-level-0">
|
|
173
|
+
<td class="name"><code><a href="#otherwise">otherwise</a></code></td>
|
|
174
|
+
<td class="name">
|
|
175
|
+
<code>
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
<span class="param-type">
|
|
179
|
+
|
|
180
|
+
<a link="Promise.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Promise" Promise.html>Promise</a>
|
|
181
|
+
|
|
182
|
+
</span>
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
</code>
|
|
188
|
+
</td>
|
|
189
|
+
<td class="name"><code><p>Register a rejection handler. Shortcut for .then(undefined, onRejected)</p></code></td>
|
|
190
|
+
</tr>
|
|
191
|
+
|
|
192
|
+
<tr class="deep-level-0">
|
|
193
|
+
<td class="name"><code><a href="#spread">spread</a></code></td>
|
|
194
|
+
<td class="name">
|
|
195
|
+
<code>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<span class="param-type">
|
|
199
|
+
|
|
200
|
+
<a link="Promise.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Promise" Promise.html>Promise</a>
|
|
201
|
+
|
|
202
|
+
</span>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
</code>
|
|
208
|
+
</td>
|
|
209
|
+
<td class="name"><code><p>Assumes that this promise will fulfill with an array, and arranges
|
|
210
|
+
for the onFulfilled to be called with the array as its argument list
|
|
211
|
+
i.e. onFulfilled.spread(undefined, array).</p></code></td>
|
|
212
|
+
</tr>
|
|
213
|
+
|
|
214
|
+
<tr class="deep-level-0">
|
|
215
|
+
<td class="name"><code><a href="#yield">yield</a></code></td>
|
|
216
|
+
<td class="name">
|
|
217
|
+
<code>
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
<span class="param-type">
|
|
221
|
+
|
|
222
|
+
<a link="Promise.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Promise" Promise.html>Promise</a>
|
|
223
|
+
|
|
224
|
+
</span>
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
</code>
|
|
230
|
+
</td>
|
|
231
|
+
<td class="name"><code><p>Shortcut for .then(function() { return value; })</p></code></td>
|
|
232
|
+
</tr>
|
|
233
|
+
|
|
234
|
+
</tbody>
|
|
235
|
+
</table>
|
|
236
|
+
</div>
|
|
237
|
+
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
238
|
+
|
|
239
|
+
<div class="member">
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
<h4 class="name" id="always">
|
|
244
|
+
<a class="href-link" href="#always">#</a>
|
|
245
|
+
|
|
246
|
+
<span class="code-name" id="always" style="font-size:30px">
|
|
247
|
+
|
|
248
|
+
always<span class="signature">(onFulfilledOrRejected<span class="signature-attributes">opt, nullable</span>, onProgress<span class="signature-attributes">opt, nullable</span>)</span>
|
|
249
|
+
|
|
250
|
+
</span>
|
|
251
|
+
</h4>
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
<div class="description">
|
|
256
|
+
<p>Register a callback that will be called when a promise is
|
|
257
|
+
fulfilled or rejected. Optionally also register a progress handler.
|
|
258
|
+
Shortcut for .then(onFulfilledOrRejected, onFulfilledOrRejected, onProgress)</p>
|
|
259
|
+
</div>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<h4>参数</h4>
|
|
271
|
+
|
|
272
|
+
<div class="table-container">
|
|
273
|
+
<table class="params table">
|
|
274
|
+
<thead>
|
|
275
|
+
<tr>
|
|
276
|
+
|
|
277
|
+
<th>名称</th>
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
<th>类型</th>
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
<th class="last">描述</th>
|
|
285
|
+
</tr>
|
|
286
|
+
</thead>
|
|
287
|
+
|
|
288
|
+
<tbody>
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
<tr class="deep-level-0">
|
|
293
|
+
|
|
294
|
+
<td class="name"><code>onFulfilledOrRejected</code></td>
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<td class="type">
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
<span class="param-type">
|
|
301
|
+
|
|
302
|
+
function
|
|
303
|
+
|
|
304
|
+
</span>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
</td>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
<td class="description last"></td>
|
|
314
|
+
</tr>
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
<tr class="deep-level-0">
|
|
322
|
+
|
|
323
|
+
<td class="name"><code>onProgress</code></td>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<td class="type">
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
<span class="param-type">
|
|
330
|
+
|
|
331
|
+
function
|
|
332
|
+
|
|
333
|
+
</span>
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
</td>
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
<td class="description last"></td>
|
|
343
|
+
</tr>
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
</tbody>
|
|
349
|
+
</table>
|
|
350
|
+
</div>
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
<dl class="details">
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
</dl>
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
<div class='columns method-parameter'>
|
|
409
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
410
|
+
<div class="column is-10">
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
<div class="columns">
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
<div class='column is-5 has-text-left'>
|
|
418
|
+
<label>类型: </label>
|
|
419
|
+
|
|
420
|
+
<span class="param-type">
|
|
421
|
+
|
|
422
|
+
<a link="Promise.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Promise" Promise.html>Promise</a>
|
|
423
|
+
|
|
424
|
+
</span>
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
</div>
|
|
429
|
+
|
|
430
|
+
</div>
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
</div>
|
|
434
|
+
</div>
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
</div>
|
|
442
|
+
|
|
443
|
+
<div class="member">
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
<h4 class="name" id="otherwise">
|
|
448
|
+
<a class="href-link" href="#otherwise">#</a>
|
|
449
|
+
|
|
450
|
+
<span class="code-name" id="otherwise" style="font-size:30px">
|
|
451
|
+
|
|
452
|
+
otherwise<span class="signature">(onRejected<span class="signature-attributes">nullable</span>)</span>
|
|
453
|
+
|
|
454
|
+
</span>
|
|
455
|
+
</h4>
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
<div class="description">
|
|
460
|
+
<p>Register a rejection handler. Shortcut for .then(undefined, onRejected)</p>
|
|
461
|
+
</div>
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
<h4>参数</h4>
|
|
473
|
+
|
|
474
|
+
<div class="table-container">
|
|
475
|
+
<table class="params table">
|
|
476
|
+
<thead>
|
|
477
|
+
<tr>
|
|
478
|
+
|
|
479
|
+
<th>名称</th>
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
<th>类型</th>
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
<th class="last">描述</th>
|
|
487
|
+
</tr>
|
|
488
|
+
</thead>
|
|
489
|
+
|
|
490
|
+
<tbody>
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
<tr class="deep-level-0">
|
|
495
|
+
|
|
496
|
+
<td class="name"><code>onRejected</code></td>
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
<td class="type">
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
<span class="param-type">
|
|
503
|
+
|
|
504
|
+
function
|
|
505
|
+
|
|
506
|
+
</span>
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
</td>
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
<td class="description last"></td>
|
|
516
|
+
</tr>
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
</tbody>
|
|
522
|
+
</table>
|
|
523
|
+
</div>
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
<dl class="details">
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
</dl>
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
<div class='columns method-parameter'>
|
|
582
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
583
|
+
<div class="column is-10">
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
<div class="columns">
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
<div class='column is-5 has-text-left'>
|
|
591
|
+
<label>类型: </label>
|
|
592
|
+
|
|
593
|
+
<span class="param-type">
|
|
594
|
+
|
|
595
|
+
<a link="Promise.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Promise" Promise.html>Promise</a>
|
|
596
|
+
|
|
597
|
+
</span>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
</div>
|
|
602
|
+
|
|
603
|
+
</div>
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
</div>
|
|
607
|
+
</div>
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
</div>
|
|
615
|
+
|
|
616
|
+
<div class="member">
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
<h4 class="name" id="spread">
|
|
621
|
+
<a class="href-link" href="#spread">#</a>
|
|
622
|
+
|
|
623
|
+
<span class="code-name" id="spread" style="font-size:30px">
|
|
624
|
+
|
|
625
|
+
spread<span class="signature">(onFulfilled)</span>
|
|
626
|
+
|
|
627
|
+
</span>
|
|
628
|
+
</h4>
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
<div class="description">
|
|
633
|
+
<p>Assumes that this promise will fulfill with an array, and arranges
|
|
634
|
+
for the onFulfilled to be called with the array as its argument list
|
|
635
|
+
i.e. onFulfilled.spread(undefined, array).</p>
|
|
636
|
+
</div>
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
<h4>参数</h4>
|
|
648
|
+
|
|
649
|
+
<div class="table-container">
|
|
650
|
+
<table class="params table">
|
|
651
|
+
<thead>
|
|
652
|
+
<tr>
|
|
653
|
+
|
|
654
|
+
<th>名称</th>
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
<th>类型</th>
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
<th class="last">描述</th>
|
|
662
|
+
</tr>
|
|
663
|
+
</thead>
|
|
664
|
+
|
|
665
|
+
<tbody>
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
<tr class="deep-level-0">
|
|
670
|
+
|
|
671
|
+
<td class="name"><code>onFulfilled</code></td>
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
<td class="type">
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
<span class="param-type">
|
|
678
|
+
|
|
679
|
+
function
|
|
680
|
+
|
|
681
|
+
</span>
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
</td>
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
<td class="description last"><p>function to receive spread arguments</p></td>
|
|
691
|
+
</tr>
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
</tbody>
|
|
697
|
+
</table>
|
|
698
|
+
</div>
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
<dl class="details">
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
</dl>
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
<div class='columns method-parameter'>
|
|
757
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
758
|
+
<div class="column is-10">
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
<div class="columns">
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
<div class='column is-5 has-text-left'>
|
|
766
|
+
<label>类型: </label>
|
|
767
|
+
|
|
768
|
+
<span class="param-type">
|
|
769
|
+
|
|
770
|
+
<a link="Promise.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Promise" Promise.html>Promise</a>
|
|
771
|
+
|
|
772
|
+
</span>
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
</div>
|
|
777
|
+
|
|
778
|
+
</div>
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
</div>
|
|
782
|
+
</div>
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
</div>
|
|
790
|
+
|
|
791
|
+
<div class="member">
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
<h4 class="name" id="yield">
|
|
796
|
+
<a class="href-link" href="#yield">#</a>
|
|
797
|
+
|
|
798
|
+
<span class="code-name" id="yield" style="font-size:30px">
|
|
799
|
+
|
|
800
|
+
yield<span class="signature">(value)</span>
|
|
801
|
+
|
|
802
|
+
</span>
|
|
803
|
+
</h4>
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
<div class="description">
|
|
808
|
+
<p>Shortcut for .then(function() { return value; })</p>
|
|
809
|
+
</div>
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
<h4>参数</h4>
|
|
821
|
+
|
|
822
|
+
<div class="table-container">
|
|
823
|
+
<table class="params table">
|
|
824
|
+
<thead>
|
|
825
|
+
<tr>
|
|
826
|
+
|
|
827
|
+
<th>名称</th>
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
<th>类型</th>
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
<th class="last">描述</th>
|
|
835
|
+
</tr>
|
|
836
|
+
</thead>
|
|
837
|
+
|
|
838
|
+
<tbody>
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
<tr class="deep-level-0">
|
|
843
|
+
|
|
844
|
+
<td class="name"><code>value</code></td>
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
<td class="type">
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
<span class="param-type">
|
|
851
|
+
|
|
852
|
+
*
|
|
853
|
+
|
|
854
|
+
</span>
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
</td>
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
<td class="description last"></td>
|
|
864
|
+
</tr>
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
</tbody>
|
|
870
|
+
</table>
|
|
871
|
+
</div>
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
<dl class="details">
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
</dl>
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
<div class='columns method-parameter'>
|
|
930
|
+
<div class="column is-2"><label>返回值</label></div>
|
|
931
|
+
<div class="column is-10">
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
<div class="columns">
|
|
936
|
+
|
|
937
|
+
<div class='param-desc column is-7'><p>a promise that:</p>
|
|
938
|
+
<ul>
|
|
939
|
+
<li>is fulfilled if value is not a promise, or</li>
|
|
940
|
+
<li>if value is a promise, will fulfill with its value, or reject
|
|
941
|
+
with its reason.</li>
|
|
942
|
+
</ul></div>
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
<div class='column is-5 has-text-left'>
|
|
946
|
+
<label>类型: </label>
|
|
947
|
+
|
|
948
|
+
<span class="param-type">
|
|
949
|
+
|
|
950
|
+
<a link="Promise.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Promise" Promise.html>Promise</a>
|
|
951
|
+
|
|
952
|
+
</span>
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
</div>
|
|
957
|
+
|
|
958
|
+
</div>
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
</div>
|
|
962
|
+
</div>
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
</div>
|
|
970
|
+
|
|
971
|
+
</div>
|
|
972
|
+
</div>
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
</article>
|
|
979
|
+
|
|
980
|
+
</section>
|