@anov/gis 1.2.8-beta.1 → 1.2.9-beta.1
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/Documentation/AmapImageryProvider.html +198 -0
- package/dist/Documentation/BaiduImageryProvider.html +353 -0
- package/dist/Documentation/Billboard.html +1477 -0
- package/dist/Documentation/CesiumHeatMap.html +559 -0
- package/dist/Documentation/CesiumMeasureUtil.html +1907 -0
- package/dist/Documentation/CesiumView.html +808 -0
- package/dist/Documentation/DomUtil.html +2513 -0
- package/dist/Documentation/DrawBase.html +1250 -0
- package/dist/Documentation/DrawCircle.html +852 -0
- package/dist/Documentation/DrawPoint.html +720 -0
- package/dist/Documentation/DrawPolyLine.html +963 -0
- package/dist/Documentation/DrawPolygon.html +852 -0
- package/dist/Documentation/DrawRectangle.html +720 -0
- package/dist/Documentation/FeatureInfoUtil.html +324 -0
- package/dist/Documentation/GeoJsonLayer.html +640 -0
- package/dist/Documentation/GoogleImageryProvider.html +198 -0
- package/dist/Documentation/Graphic.html +1761 -0
- package/dist/Documentation/ImageryLayerFactory.html +2431 -0
- package/dist/Documentation/Label.html +1458 -0
- package/dist/Documentation/LayerControlUitl.html +364 -0
- package/dist/Documentation/LocateUtil.html +1303 -0
- package/dist/Documentation/MapInfo.html +237 -0
- package/dist/Documentation/MouseEvent.html +187 -0
- package/dist/Documentation/PlotUtil.html +3627 -0
- package/dist/Documentation/PoiSearch.html +260 -0
- package/dist/Documentation/Point.html +2304 -0
- package/dist/Documentation/Polyline.html +1743 -0
- package/dist/Documentation/Position.html +1676 -0
- package/dist/Documentation/PrimitiveLayer.html +277 -0
- package/dist/Documentation/SplitImageLayer.html +552 -0
- package/dist/Documentation/TdtImageryProvider.html +198 -0
- package/dist/Documentation/TencentImageryProvider.html +198 -0
- package/dist/Documentation/ThreeCoordTransform.html +1327 -0
- package/dist/Documentation/TilesetLayer.html +277 -0
- package/dist/Documentation/Transform.html +1831 -0
- package/dist/Documentation/TranslateLocal.html +434 -0
- package/dist/Documentation/Util.html +1653 -0
- package/dist/Documentation/VectorLayer.html +2214 -0
- package/dist/Documentation/Viewer.html +5537 -0
- package/dist/Documentation/WktUtil.html +693 -0
- package/dist/Documentation/fonts/SourceSansPro.woff +0 -0
- package/dist/Documentation/global.html +1586 -0
- package/dist/Documentation/global.html#FlyEventType +154 -0
- package/dist/Documentation/global.html#GraphicEventType +154 -0
- package/dist/Documentation/global.html#ImageryType +1476 -0
- package/dist/Documentation/global.html#LayerEventType +154 -0
- package/dist/Documentation/global.html#SceneEventType +154 -0
- package/dist/Documentation/global.html#WidgetEventType +154 -0
- package/dist/Documentation/global.html#getCurveByTwoPoints +154 -0
- package/dist/Documentation/global.html#noAuto +154 -0
- package/dist/Documentation/global.html#pause +154 -0
- package/dist/Documentation/global.html#resetParas +154 -0
- package/dist/Documentation/global.html#start +154 -0
- package/dist/Documentation/global.html#stop +154 -0
- package/dist/Documentation/icons/home.png +0 -0
- package/dist/Documentation/icons/link.png +0 -0
- package/dist/Documentation/icons/popout.png +0 -0
- package/dist/Documentation/images/CesiumLogo.png +0 -0
- package/dist/Documentation/images/bingAerial.png +0 -0
- package/dist/Documentation/images/bingAerialLabels.png +0 -0
- package/dist/Documentation/images/bingRoads.png +0 -0
- package/dist/Documentation/images/blueblack.png +0 -0
- package/dist/Documentation/images/circle_blue.png +0 -0
- package/dist/Documentation/images/circle_red.png +0 -0
- package/dist/Documentation/images/circle_yellow.png +0 -0
- package/dist/Documentation/images/cloud.jpg +0 -0
- package/dist/Documentation/images/esriWorldImagery.png +0 -0
- package/dist/Documentation/images/fence.png +0 -0
- package/dist/Documentation/images/gaode_img.png +0 -0
- package/dist/Documentation/images/gnjg.png +0 -0
- package/dist/Documentation/images/google_vec.png +0 -0
- package/dist/Documentation/images/lighting.png +0 -0
- package/dist/Documentation/images/linegradient.png +0 -0
- package/dist/Documentation/images/space_line.png +0 -0
- package/dist/Documentation/images/tdt_ter.png +0 -0
- package/dist/Documentation/images/tdt_vec.png +0 -0
- package/dist/Documentation/images/wallflow.png +0 -0
- package/dist/Documentation/images/wallgradient.png +0 -0
- package/dist/Documentation/images/water/waterNormals.jpg +0 -0
- package/dist/Documentation/images/water/waterNormalsSmall.jpg +0 -0
- package/dist/Documentation/index.html +73 -0
- package/dist/Documentation/javascript/cesiumDoc.js +64 -0
- package/dist/Documentation/javascript/html5.js +115 -0
- package/dist/Documentation/javascript/prism.js +325 -0
- package/dist/Documentation/styles/jsdoc-default.css +670 -0
- package/dist/Documentation/styles/prism.css +128 -0
- package/dist/Documentation/types.txt +1 -0
- package/dist/index.css +2699 -4
- package/dist/index.js +730 -58
- package/dist/resources/static/images/water/waterNormals.jpg +0 -0
- package/dist/resources/static/images/water/waterNormalsSmall.jpg +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1653 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
+
<title>Util - Cesium Documentation</title>
|
|
8
|
+
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="javascript/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link href="styles/jsdoc-default.css" rel="stylesheet">
|
|
13
|
+
<link href="styles/prism.css" rel="stylesheet">
|
|
14
|
+
</head>
|
|
15
|
+
<body>
|
|
16
|
+
|
|
17
|
+
<div id="main">
|
|
18
|
+
|
|
19
|
+
<h1 class="page-title">
|
|
20
|
+
|
|
21
|
+
Util
|
|
22
|
+
<div class="titleCenterer"></div>
|
|
23
|
+
</h1>
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
<section>
|
|
31
|
+
|
|
32
|
+
<header>
|
|
33
|
+
|
|
34
|
+
<div class="class-description">封装一些字符串通用方法
|
|
35
|
Some of the code borrows from leaflet</div>
|
|
36
|
+
|
|
37
|
+
</header>
|
|
38
|
+
|
|
39
|
+
<article>
|
|
40
|
+
<div class="container-overview">
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
<div class="nameContainer">
|
|
46
|
+
<h4 class="name" id="Util">
|
|
47
|
+
<a href="#Util" class="doc-link"></a>
|
|
48
|
+
new ANOVGIS.Util<span class="signature">()</span>
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
<div class="source-link rightLinks" style="display:none">
|
|
52
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L10">base/utils/Util.js 10</a>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</h4>
|
|
57
|
+
|
|
58
|
+
</div>
|
|
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
|
+
<dl class="details">
|
|
88
|
+
|
|
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
|
+
|
|
114
|
+
|
|
115
|
+
<h5>See:</h5>
|
|
116
|
+
<ul class="see-list">
|
|
117
|
+
<li><a href="https://github.com/Leaflet/Leaflet/tree/master/src/core">https://github.com/Leaflet/Leaflet/tree/master/src/core</a></li>
|
|
118
|
+
</ul>
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
</dl>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<h3 class="subsection-title">Methods</h3>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<div class="nameContainer">
|
|
146
|
+
<h4 class="name" id=".checkPosition">
|
|
147
|
+
<a href="#.checkPosition" class="doc-link"></a>
|
|
148
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.checkPosition<span class="signature">(position)</span>
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
<div class="source-link rightLinks" style="display:none">
|
|
152
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L111">base/utils/Util.js 111</a>
|
|
153
|
+
</div>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
</h4>
|
|
157
|
+
|
|
158
|
+
</div>
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<div class="description">
|
|
164
|
+
Check position for validity
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
<table class="params">
|
|
180
|
+
<thead>
|
|
181
|
+
<tr>
|
|
182
|
+
|
|
183
|
+
<th>Name</th>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
<th>Type</th>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<th class="last">Description</th>
|
|
191
|
+
</tr>
|
|
192
|
+
</thead>
|
|
193
|
+
|
|
194
|
+
<tbody>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
<tr>
|
|
198
|
+
|
|
199
|
+
<td class="name"><code>position</code></td>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
<td class="type">
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
<span class="param-type">*</span>
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
</td>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
<td class="description last">
|
|
214
|
+
|
|
215
|
+
</td>
|
|
216
|
+
</tr>
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
</tbody>
|
|
220
|
+
</table>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
<dl class="details">
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
</dl>
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
<div class="nameContainer">
|
|
272
|
+
<h4 class="name" id=".dataURLtoBlob">
|
|
273
|
+
<a href="#.dataURLtoBlob" class="doc-link"></a>
|
|
274
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.dataURLtoBlob<span class="signature">(dataUrl)</span> → <span class="type-signature returnType">Blob</span>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<div class="source-link rightLinks" style="display:none">
|
|
278
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L159">base/utils/Util.js 159</a>
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
</h4>
|
|
283
|
+
|
|
284
|
+
</div>
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<table class="params">
|
|
302
|
+
<thead>
|
|
303
|
+
<tr>
|
|
304
|
+
|
|
305
|
+
<th>Name</th>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
<th>Type</th>
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
<th class="last">Description</th>
|
|
313
|
+
</tr>
|
|
314
|
+
</thead>
|
|
315
|
+
|
|
316
|
+
<tbody>
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
<tr>
|
|
320
|
+
|
|
321
|
+
<td class="name"><code>dataUrl</code></td>
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
<td class="type">
|
|
325
|
+
|
|
326
|
+
</td>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
<td class="description last">
|
|
331
|
+
|
|
332
|
+
</td>
|
|
333
|
+
</tr>
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
</tbody>
|
|
337
|
+
</table>
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
<h5>Returns:</h5>
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
<dl class="details">
|
|
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
|
+
</dl>
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
<div class="nameContainer">
|
|
394
|
+
<h4 class="name" id=".debounce">
|
|
395
|
+
<a href="#.debounce" class="doc-link"></a>
|
|
396
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.debounce<span class="signature">(fn, delay)</span> → <span class="type-signature returnType">function</span>
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
<div class="source-link rightLinks" style="display:none">
|
|
400
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L126">base/utils/Util.js 126</a>
|
|
401
|
+
</div>
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
</h4>
|
|
405
|
+
|
|
406
|
+
</div>
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
<div class="description">
|
|
412
|
+
Creates a debounced function that delays invoking `fn` until after `delay`
|
|
413
|
+
</div>
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
<table class="params">
|
|
428
|
+
<thead>
|
|
429
|
+
<tr>
|
|
430
|
+
|
|
431
|
+
<th>Name</th>
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
<th>Type</th>
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
<th class="last">Description</th>
|
|
439
|
+
</tr>
|
|
440
|
+
</thead>
|
|
441
|
+
|
|
442
|
+
<tbody>
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
<tr>
|
|
446
|
+
|
|
447
|
+
<td class="name"><code>fn</code></td>
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
<td class="type">
|
|
451
|
+
|
|
452
|
+
</td>
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
<td class="description last">
|
|
457
|
+
|
|
458
|
+
</td>
|
|
459
|
+
</tr>
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
<tr>
|
|
464
|
+
|
|
465
|
+
<td class="name"><code>delay</code></td>
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
<td class="type">
|
|
469
|
+
|
|
470
|
+
</td>
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
<td class="description last">
|
|
475
|
+
|
|
476
|
+
</td>
|
|
477
|
+
</tr>
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
</tbody>
|
|
481
|
+
</table>
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
<h5>Returns:</h5>
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
<dl class="details">
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
</dl>
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
<div class="nameContainer">
|
|
538
|
+
<h4 class="name" id=".emptyImageUrl">
|
|
539
|
+
<a href="#.emptyImageUrl" class="doc-link"></a>
|
|
540
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.emptyImageUrl<span class="signature">()</span> → <span class="type-signature returnType">String</span>
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
<div class="source-link rightLinks" style="display:none">
|
|
544
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L100">base/utils/Util.js 100</a>
|
|
545
|
+
</div>
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
</h4>
|
|
549
|
+
|
|
550
|
+
</div>
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
<div class="description">
|
|
556
|
+
Data URI string containing a base64-encoded empty GIF image.
|
|
557
|
+
</div>
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
<h5>Returns:</h5>
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
<dl class="details">
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
</dl>
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
<div class="nameContainer">
|
|
624
|
+
<h4 class="name" id=".formatNum">
|
|
625
|
+
<a href="#.formatNum" class="doc-link"></a>
|
|
626
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.formatNum<span class="signature">(num, digits)</span> → <span class="type-signature returnType">Number</span>
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
<div class="source-link rightLinks" style="display:none">
|
|
630
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L80">base/utils/Util.js 80</a>
|
|
631
|
+
</div>
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
</h4>
|
|
635
|
+
|
|
636
|
+
</div>
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
<div class="description">
|
|
642
|
+
Returns the number `num` rounded to `digits` decimals, or to 6 decimals by default.
|
|
643
|
+
</div>
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
<table class="params">
|
|
658
|
+
<thead>
|
|
659
|
+
<tr>
|
|
660
|
+
|
|
661
|
+
<th>Name</th>
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
<th>Type</th>
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
<th class="last">Description</th>
|
|
669
|
+
</tr>
|
|
670
|
+
</thead>
|
|
671
|
+
|
|
672
|
+
<tbody>
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
<tr>
|
|
676
|
+
|
|
677
|
+
<td class="name"><code>num</code></td>
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
<td class="type">
|
|
681
|
+
|
|
682
|
+
</td>
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
<td class="description last">
|
|
687
|
+
|
|
688
|
+
</td>
|
|
689
|
+
</tr>
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
<tr>
|
|
694
|
+
|
|
695
|
+
<td class="name"><code>digits</code></td>
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
<td class="type">
|
|
699
|
+
|
|
700
|
+
</td>
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
<td class="description last">
|
|
705
|
+
|
|
706
|
+
</td>
|
|
707
|
+
</tr>
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
</tbody>
|
|
711
|
+
</table>
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
<h5>Returns:</h5>
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
<dl class="details">
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
</dl>
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
<div class="nameContainer">
|
|
768
|
+
<h4 class="name" id=".merge">
|
|
769
|
+
<a href="#.merge" class="doc-link"></a>
|
|
770
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.merge<span class="signature">(dest, sources)</span> → <span class="type-signature returnType">*</span>
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
<div class="source-link rightLinks" style="display:none">
|
|
774
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L37">base/utils/Util.js 37</a>
|
|
775
|
+
</div>
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
</h4>
|
|
779
|
+
|
|
780
|
+
</div>
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
<div class="description">
|
|
786
|
+
Merges the properties of the `src` object (or multiple objects) into `dest` object and returns the latter.
|
|
787
|
+
</div>
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
<table class="params">
|
|
802
|
+
<thead>
|
|
803
|
+
<tr>
|
|
804
|
+
|
|
805
|
+
<th>Name</th>
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
<th>Type</th>
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
<th class="last">Description</th>
|
|
813
|
+
</tr>
|
|
814
|
+
</thead>
|
|
815
|
+
|
|
816
|
+
<tbody>
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
<tr>
|
|
820
|
+
|
|
821
|
+
<td class="name"><code>dest</code></td>
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
<td class="type">
|
|
825
|
+
|
|
826
|
+
</td>
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
<td class="description last">
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
</td>
|
|
838
|
+
</tr>
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
<tr>
|
|
843
|
+
|
|
844
|
+
<td class="name"><code>sources</code></td>
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
<td class="type">
|
|
848
|
+
|
|
849
|
+
</td>
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
<td class="description last">
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
<span class="repeatable">repeatable</span>
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
</td>
|
|
863
|
+
</tr>
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
</tbody>
|
|
867
|
+
</table>
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
<h5>Returns:</h5>
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
<dl class="details">
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
</dl>
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
<div class="nameContainer">
|
|
924
|
+
<h4 class="name" id=".setOptions">
|
|
925
|
+
<a href="#.setOptions" class="doc-link"></a>
|
|
926
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.setOptions<span class="signature">(obj, options)</span>
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
<div class="source-link rightLinks" style="display:none">
|
|
930
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L63">base/utils/Util.js 63</a>
|
|
931
|
+
</div>
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
</h4>
|
|
935
|
+
|
|
936
|
+
</div>
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
<div class="description">
|
|
942
|
+
Merges the given properties to the `options` of the `obj` object, returning the resulting options. See `Class options`.
|
|
943
|
+
</div>
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
<table class="params">
|
|
958
|
+
<thead>
|
|
959
|
+
<tr>
|
|
960
|
+
|
|
961
|
+
<th>Name</th>
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
<th>Type</th>
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
<th class="last">Description</th>
|
|
969
|
+
</tr>
|
|
970
|
+
</thead>
|
|
971
|
+
|
|
972
|
+
<tbody>
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
<tr>
|
|
976
|
+
|
|
977
|
+
<td class="name"><code>obj</code></td>
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
<td class="type">
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
<span class="param-type">*</span>
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
</td>
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
<td class="description last">
|
|
992
|
+
|
|
993
|
+
</td>
|
|
994
|
+
</tr>
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
<tr>
|
|
999
|
+
|
|
1000
|
+
<td class="name"><code>options</code></td>
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
<td class="type">
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
<span class="param-type">*</span>
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
</td>
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
<td class="description last">
|
|
1015
|
+
|
|
1016
|
+
</td>
|
|
1017
|
+
</tr>
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
</tbody>
|
|
1021
|
+
</table>
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
<dl class="details">
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
</dl>
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
<div class="nameContainer">
|
|
1073
|
+
<h4 class="name" id=".splitWords">
|
|
1074
|
+
<a href="#.splitWords" class="doc-link"></a>
|
|
1075
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.splitWords<span class="signature">(str)</span>
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
<div class="source-link rightLinks" style="display:none">
|
|
1079
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L53">base/utils/Util.js 53</a>
|
|
1080
|
+
</div>
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
</h4>
|
|
1084
|
+
|
|
1085
|
+
</div>
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
<div class="description">
|
|
1091
|
+
Trims and splits the string addEventListener whitespace and returns the array of parts.
|
|
1092
|
+
</div>
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
<table class="params">
|
|
1107
|
+
<thead>
|
|
1108
|
+
<tr>
|
|
1109
|
+
|
|
1110
|
+
<th>Name</th>
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
<th>Type</th>
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
<th class="last">Description</th>
|
|
1118
|
+
</tr>
|
|
1119
|
+
</thead>
|
|
1120
|
+
|
|
1121
|
+
<tbody>
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
<tr>
|
|
1125
|
+
|
|
1126
|
+
<td class="name"><code>str</code></td>
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
<td class="type">
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
<span class="param-type">*</span>
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
</td>
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
<td class="description last">
|
|
1141
|
+
|
|
1142
|
+
</td>
|
|
1143
|
+
</tr>
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
</tbody>
|
|
1147
|
+
</table>
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
<dl class="details">
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
</dl>
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
<div class="nameContainer">
|
|
1199
|
+
<h4 class="name" id=".throttle">
|
|
1200
|
+
<a href="#.throttle" class="doc-link"></a>
|
|
1201
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.throttle<span class="signature">(fn, delay)</span> → <span class="type-signature returnType">function</span>
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
<div class="source-link rightLinks" style="display:none">
|
|
1205
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L140">base/utils/Util.js 140</a>
|
|
1206
|
+
</div>
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
</h4>
|
|
1210
|
+
|
|
1211
|
+
</div>
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
<div class="description">
|
|
1217
|
+
Creates a throttled function that only invokes `fn` at most addEventListenerOnce per
|
|
1218
|
+
</div>
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
<table class="params">
|
|
1233
|
+
<thead>
|
|
1234
|
+
<tr>
|
|
1235
|
+
|
|
1236
|
+
<th>Name</th>
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
<th>Type</th>
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
<th class="last">Description</th>
|
|
1244
|
+
</tr>
|
|
1245
|
+
</thead>
|
|
1246
|
+
|
|
1247
|
+
<tbody>
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
<tr>
|
|
1251
|
+
|
|
1252
|
+
<td class="name"><code>fn</code></td>
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
<td class="type">
|
|
1256
|
+
|
|
1257
|
+
</td>
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
<td class="description last">
|
|
1262
|
+
|
|
1263
|
+
</td>
|
|
1264
|
+
</tr>
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
<tr>
|
|
1269
|
+
|
|
1270
|
+
<td class="name"><code>delay</code></td>
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
<td class="type">
|
|
1274
|
+
|
|
1275
|
+
</td>
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
<td class="description last">
|
|
1280
|
+
|
|
1281
|
+
</td>
|
|
1282
|
+
</tr>
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
</tbody>
|
|
1286
|
+
</table>
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
<h5>Returns:</h5>
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
<dl class="details">
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
</dl>
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
<div class="nameContainer">
|
|
1343
|
+
<h4 class="name" id=".trim">
|
|
1344
|
+
<a href="#.trim" class="doc-link"></a>
|
|
1345
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.trim<span class="signature">(str)</span>
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
<div class="source-link rightLinks" style="display:none">
|
|
1349
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L90">base/utils/Util.js 90</a>
|
|
1350
|
+
</div>
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
</h4>
|
|
1354
|
+
|
|
1355
|
+
</div>
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
<div class="description">
|
|
1361
|
+
Compatibility polyfill for [String.prototype.trim](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim)
|
|
1362
|
+
</div>
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
<table class="params">
|
|
1377
|
+
<thead>
|
|
1378
|
+
<tr>
|
|
1379
|
+
|
|
1380
|
+
<th>Name</th>
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
<th>Type</th>
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
<th class="last">Description</th>
|
|
1388
|
+
</tr>
|
|
1389
|
+
</thead>
|
|
1390
|
+
|
|
1391
|
+
<tbody>
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
<tr>
|
|
1395
|
+
|
|
1396
|
+
<td class="name"><code>str</code></td>
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
<td class="type">
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
<span class="param-type">*</span>
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
</td>
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
<td class="description last">
|
|
1411
|
+
|
|
1412
|
+
</td>
|
|
1413
|
+
</tr>
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
</tbody>
|
|
1417
|
+
</table>
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
<dl class="details">
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
</dl>
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
<div class="nameContainer">
|
|
1469
|
+
<h4 class="name" id=".uuid">
|
|
1470
|
+
<a href="#.uuid" class="doc-link"></a>
|
|
1471
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.Util.uuid<span class="signature">(prefix)</span> → <span class="type-signature returnType">String</span>
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
<div class="source-link rightLinks" style="display:none">
|
|
1475
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/Util.js#L16">base/utils/Util.js 16</a>
|
|
1476
|
+
</div>
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
</h4>
|
|
1480
|
+
|
|
1481
|
+
</div>
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
<div class="description">
|
|
1487
|
+
Generates uuid
|
|
1488
|
+
</div>
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
<table class="params">
|
|
1503
|
+
<thead>
|
|
1504
|
+
<tr>
|
|
1505
|
+
|
|
1506
|
+
<th>Name</th>
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
<th>Type</th>
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
<th>Default</th>
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
<th class="last">Description</th>
|
|
1516
|
+
</tr>
|
|
1517
|
+
</thead>
|
|
1518
|
+
|
|
1519
|
+
<tbody>
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
<tr>
|
|
1523
|
+
|
|
1524
|
+
<td class="name"><code>prefix</code></td>
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
<td class="type">
|
|
1528
|
+
|
|
1529
|
+
</td>
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
<td class="default">
|
|
1533
|
+
|
|
1534
|
+
<code class="language-javascript">D</code>
|
|
1535
|
+
|
|
1536
|
+
</td>
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
<td class="description last">
|
|
1540
|
+
|
|
1541
|
+
</td>
|
|
1542
|
+
</tr>
|
|
1543
|
+
|
|
1544
|
+
|
|
1545
|
+
</tbody>
|
|
1546
|
+
</table>
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
<h5>Returns:</h5>
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
<dl class="details">
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
</dl>
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
|
|
1605
|
+
|
|
1606
|
+
</article>
|
|
1607
|
+
|
|
1608
|
+
</section>
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
<div class="help">
|
|
1615
|
+
需要帮助 ? 最快获取答案的途径是百度 <a href="https://www.baidu.com/">测试</a>.
|
|
1616
|
+
</div>
|
|
1617
|
+
|
|
1618
|
+
<footer>
|
|
1619
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
|
|
1620
|
+
</footer>
|
|
1621
|
+
</div>
|
|
1622
|
+
|
|
1623
|
+
<div class="nav">
|
|
1624
|
+
<div class="menu">
|
|
1625
|
+
<input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
|
|
1626
|
+
<ul id="ClassList"><li data-name="AmapImageryProvider"><a href="AmapImageryProvider.html">AmapImageryProvider</a></li><li data-name="BaiduImageryProvider"><a href="BaiduImageryProvider.html">BaiduImageryProvider</a></li><li data-name="Billboard"><a href="Billboard.html">Billboard</a></li><li data-name="CesiumHeatMap"><a href="CesiumHeatMap.html">CesiumHeatMap</a></li><li data-name="CesiumMeasureUtil"><a href="CesiumMeasureUtil.html">CesiumMeasureUtil</a></li><li data-name="CesiumView"><a href="CesiumView.html">CesiumView</a></li><li data-name="DomUtil"><a href="DomUtil.html">DomUtil</a></li><li data-name="DrawBase"><a href="DrawBase.html">DrawBase</a></li><li data-name="DrawCircle"><a href="DrawCircle.html">DrawCircle</a></li><li data-name="DrawPoint"><a href="DrawPoint.html">DrawPoint</a></li><li data-name="DrawPolygon"><a href="DrawPolygon.html">DrawPolygon</a></li><li data-name="DrawPolyLine"><a href="DrawPolyLine.html">DrawPolyLine</a></li><li data-name="DrawRectangle"><a href="DrawRectangle.html">DrawRectangle</a></li><li data-name="FeatureInfoUtil"><a href="FeatureInfoUtil.html">FeatureInfoUtil</a></li><li data-name="FlyEventType"><a href="global.html#FlyEventType">FlyEventType</a></li><li data-name="GeoJsonLayer"><a href="GeoJsonLayer.html">GeoJsonLayer</a></li><li data-name="getCurveByTwoPoints"><a href="global.html#getCurveByTwoPoints">getCurveByTwoPoints</a></li><li data-name="GoogleImageryProvider"><a href="GoogleImageryProvider.html">GoogleImageryProvider</a></li><li data-name="Graphic"><a href="Graphic.html">Graphic</a></li><li data-name="GraphicEventType"><a href="global.html#GraphicEventType">GraphicEventType</a></li><li data-name="ImageryLayerFactory"><a href="ImageryLayerFactory.html">ImageryLayerFactory</a></li><li data-name="ImageryType"><a href="global.html#ImageryType">ImageryType</a></li><li data-name="Label"><a href="Label.html">Label</a></li><li data-name="LayerControlUitl"><a href="LayerControlUitl.html">LayerControlUitl</a></li><li data-name="LayerEventType"><a href="global.html#LayerEventType">LayerEventType</a></li><li data-name="LocateUtil"><a href="LocateUtil.html">LocateUtil</a></li><li data-name="MapInfo"><a href="MapInfo.html">MapInfo</a></li><li data-name="MouseEvent"><a href="MouseEvent.html">MouseEvent</a></li><li data-name="noAuto"><a href="global.html#noAuto">noAuto</a></li><li data-name="pause"><a href="global.html#pause">pause</a></li><li data-name="PlotUtil"><a href="PlotUtil.html">PlotUtil</a></li><li data-name="Point"><a href="Point.html">Point</a></li><li data-name="PoiSearch"><a href="PoiSearch.html">PoiSearch</a></li><li data-name="Polyline"><a href="Polyline.html">Polyline</a></li><li data-name="Position"><a href="Position.html">Position</a></li><li data-name="PrimitiveLayer"><a href="PrimitiveLayer.html">PrimitiveLayer</a></li><li data-name="resetParas"><a href="global.html#resetParas">resetParas</a></li><li data-name="SceneEventType"><a href="global.html#SceneEventType">SceneEventType</a></li><li data-name="SplitImageLayer"><a href="SplitImageLayer.html">SplitImageLayer</a></li><li data-name="start"><a href="global.html#start">start</a></li><li data-name="stop"><a href="global.html#stop">stop</a></li><li data-name="TdtImageryProvider"><a href="TdtImageryProvider.html">TdtImageryProvider</a></li><li data-name="TencentImageryProvider"><a href="TencentImageryProvider.html">TencentImageryProvider</a></li><li data-name="ThreeCoordTransform"><a href="ThreeCoordTransform.html">ThreeCoordTransform</a></li><li data-name="TilesetLayer"><a href="TilesetLayer.html">TilesetLayer</a></li><li data-name="Transform"><a href="Transform.html">Transform</a></li><li data-name="TranslateLocal"><a href="TranslateLocal.html">TranslateLocal</a></li><li data-name="Util"><a href="Util.html">Util</a></li><li data-name="VectorLayer"><a href="VectorLayer.html">VectorLayer</a></li><li data-name="Viewer"><a href="Viewer.html">Viewer</a></li><li data-name="WidgetEventType"><a href="global.html#WidgetEventType">WidgetEventType</a></li><li data-name="WktUtil"><a href="WktUtil.html">WktUtil</a></li></ul>
|
|
1627
|
+
</div>
|
|
1628
|
+
</div>
|
|
1629
|
+
|
|
1630
|
+
<script>
|
|
1631
|
+
if (window.frameElement) {
|
|
1632
|
+
document.body.className = 'embedded';
|
|
1633
|
+
|
|
1634
|
+
var ele = document.createElement('a');
|
|
1635
|
+
ele.className = 'popout';
|
|
1636
|
+
ele.target = '_blank';
|
|
1637
|
+
ele.href = window.location.href;
|
|
1638
|
+
ele.title = 'Pop out';
|
|
1639
|
+
document.getElementById('main').appendChild(ele);
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
// Set targets on external links. Sandcastle and GitHub shouldn't be embedded in any iframe.
|
|
1643
|
+
Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
|
|
1644
|
+
if (/^https?:/i.test(a.getAttribute('href'))) {
|
|
1645
|
+
a.target='_blank';
|
|
1646
|
+
}
|
|
1647
|
+
});
|
|
1648
|
+
</script>
|
|
1649
|
+
|
|
1650
|
+
<script src="javascript/prism.js"></script>
|
|
1651
|
+
<script src="javascript/cesiumDoc.js"></script>
|
|
1652
|
+
|
|
1653
|
+
</body>
|
|
1654
|
+
</html>
|