@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,808 @@
|
|
|
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>CesiumView - 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
|
+
CesiumView
|
|
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
|
+
|
|
36
|
+
</header>
|
|
37
|
+
|
|
38
|
+
<article>
|
|
39
|
+
<div class="container-overview">
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
<div class="nameContainer">
|
|
45
|
+
<h4 class="name" id="CesiumView">
|
|
46
|
+
<a href="#CesiumView" class="doc-link"></a>
|
|
47
|
+
new ANOVGIS.CesiumView<span class="signature">()</span>
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
<div class="source-link rightLinks" style="display:none">
|
|
51
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/CesiumView.js#L26">base/utils/CesiumView.js 26</a>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
</h4>
|
|
56
|
+
|
|
57
|
+
</div>
|
|
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
|
+
<dl class="details">
|
|
87
|
+
|
|
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
|
+
|
|
116
|
+
</dl>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<h3 class="subsection-title">Methods</h3>
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
<div class="nameContainer">
|
|
140
|
+
<h4 class="name" id=".init">
|
|
141
|
+
<a href="#.init" class="doc-link"></a>
|
|
142
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.CesiumView.init<span class="signature">(type, options)</span> → <span class="type-signature returnType">Cesium.Viewer</span>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<div class="source-link rightLinks" style="display:none">
|
|
146
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/CesiumView.js#L48">base/utils/CesiumView.js 48</a>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
</h4>
|
|
151
|
+
|
|
152
|
+
</div>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
<div class="description">
|
|
158
|
+
三维球初始化,默认不加载影像底图。
|
|
159
|
+
</div>
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
<table class="params">
|
|
174
|
+
<thead>
|
|
175
|
+
<tr>
|
|
176
|
+
|
|
177
|
+
<th>Name</th>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
<th>Type</th>
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
<th class="last">Description</th>
|
|
185
|
+
</tr>
|
|
186
|
+
</thead>
|
|
187
|
+
|
|
188
|
+
<tbody>
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
<tr>
|
|
192
|
+
|
|
193
|
+
<td class="name"><code>type</code></td>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
<td class="type">
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
<span class="param-type">Element</span>
|
|
200
|
+
|
|
|
201
|
+
|
|
202
|
+
<span class="param-type">String</span>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
</td>
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
<td class="description last">
|
|
211
|
+
|
|
212
|
+
将包含小部件的 DOM 元素或 ID。The DOM element or ID that will contain the widget.</td>
|
|
213
|
+
</tr>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
<tr>
|
|
218
|
+
|
|
219
|
+
<td class="name"><code>options</code></td>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
<td class="type">
|
|
223
|
+
|
|
224
|
+
</td>
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<td class="description last">
|
|
229
|
+
|
|
230
|
+
[options] 参数,具体参考下方链接 Object describing initialization options</td>
|
|
231
|
+
</tr>
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
</tbody>
|
|
235
|
+
</table>
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
<h5>Returns:</h5>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
<div class="param-desc">
|
|
251
|
+
Cesium中的三维球对象
|
|
252
|
+
</div>
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
<dl class="details">
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
<h5>Example:</h5>
|
|
281
|
+
|
|
282
|
+
<pre><code class="language-javascript">window.viewer = new Viewer("cesiumContainer", {
|
|
283
|
+
baseLayerPicker: true,
|
|
284
|
+
fullscreenButton: true,
|
|
285
|
+
homeButton: true,
|
|
286
|
+
sceneModePicker: true,
|
|
287
|
+
navigationHelpButton: true,
|
|
288
|
+
showFPS: true,
|
|
289
|
+
flyDuration: 3
|
|
290
|
+
});</code></pre>
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<h5>See:</h5>
|
|
302
|
+
<ul class="see-list">
|
|
303
|
+
<li><a href="https://cesium.com/learn/cesiumjs/ref-doc/Viewer.html#.ConstructorOptions">https://cesium.com/learn/cesiumjs/ref-doc/Viewer.html#.ConstructorOptions</a></li>
|
|
304
|
+
</ul>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
</dl>
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
<div class="nameContainer">
|
|
314
|
+
<h4 class="name" id=".setDeaultView">
|
|
315
|
+
<a href="#.setDeaultView" class="doc-link"></a>
|
|
316
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.CesiumView.setDeaultView<span class="signature">(minLon, minLat, maxLon, maxLat)</span>
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
<div class="source-link rightLinks" style="display:none">
|
|
320
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/CesiumView.js#L82">base/utils/CesiumView.js 82</a>
|
|
321
|
+
</div>
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
</h4>
|
|
325
|
+
|
|
326
|
+
</div>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
<div class="description">
|
|
332
|
+
设置三维球默认场景范围。
|
|
333
|
+
</div>
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
<table class="params">
|
|
348
|
+
<thead>
|
|
349
|
+
<tr>
|
|
350
|
+
|
|
351
|
+
<th>Name</th>
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
<th>Type</th>
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
<th>Default</th>
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
<th class="last">Description</th>
|
|
361
|
+
</tr>
|
|
362
|
+
</thead>
|
|
363
|
+
|
|
364
|
+
<tbody>
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
<tr>
|
|
368
|
+
|
|
369
|
+
<td class="name"><code>minLon</code></td>
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
<td class="type">
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
<span class="param-type">Number</span>
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
</td>
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
<td class="default">
|
|
383
|
+
|
|
384
|
+
<code class="language-javascript">78</code>
|
|
385
|
+
|
|
386
|
+
</td>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
<td class="description last">
|
|
390
|
+
|
|
391
|
+
最小经度</td>
|
|
392
|
+
</tr>
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
<tr>
|
|
397
|
+
|
|
398
|
+
<td class="name"><code>minLat</code></td>
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
<td class="type">
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
<span class="param-type">Number</span>
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
</td>
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
<td class="default">
|
|
412
|
+
|
|
413
|
+
<code class="language-javascript">23</code>
|
|
414
|
+
|
|
415
|
+
</td>
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
<td class="description last">
|
|
419
|
+
|
|
420
|
+
最大经度</td>
|
|
421
|
+
</tr>
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
<tr>
|
|
426
|
+
|
|
427
|
+
<td class="name"><code>maxLon</code></td>
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
<td class="type">
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
<span class="param-type">Number</span>
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
</td>
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
<td class="default">
|
|
441
|
+
|
|
442
|
+
<code class="language-javascript">140</code>
|
|
443
|
+
|
|
444
|
+
</td>
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
<td class="description last">
|
|
448
|
+
|
|
449
|
+
最小经度</td>
|
|
450
|
+
</tr>
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
<tr>
|
|
455
|
+
|
|
456
|
+
<td class="name"><code>maxLat</code></td>
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
<td class="type">
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
<span class="param-type">Number</span>
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
</td>
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
<td class="default">
|
|
470
|
+
|
|
471
|
+
<code class="language-javascript">60</code>
|
|
472
|
+
|
|
473
|
+
</td>
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
<td class="description last">
|
|
477
|
+
|
|
478
|
+
最大经度</td>
|
|
479
|
+
</tr>
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
</tbody>
|
|
483
|
+
</table>
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
<dl class="details">
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
<h5>Example:</h5>
|
|
520
|
+
|
|
521
|
+
<pre><code class="language-javascript">CesiumView.setDeaultView(
|
|
522
|
+
92.0,
|
|
523
|
+
25.0,
|
|
524
|
+
119.0,
|
|
525
|
+
33.0
|
|
526
|
+
);</code></pre>
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
</dl>
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
<div class="nameContainer">
|
|
545
|
+
<h4 class="name" id=".setDefaultAccessToken">
|
|
546
|
+
<a href="#.setDefaultAccessToken" class="doc-link"></a>
|
|
547
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.CesiumView.setDefaultAccessToken<span class="signature">(token)</span>
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
<div class="source-link rightLinks" style="display:none">
|
|
551
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/CesiumView.js#L102">base/utils/CesiumView.js 102</a>
|
|
552
|
+
</div>
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
</h4>
|
|
556
|
+
|
|
557
|
+
</div>
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
<div class="description">
|
|
563
|
+
设置ion token。
|
|
564
|
+
</div>
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
<table class="params">
|
|
579
|
+
<thead>
|
|
580
|
+
<tr>
|
|
581
|
+
|
|
582
|
+
<th>Name</th>
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
<th>Type</th>
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
<th class="last">Description</th>
|
|
590
|
+
</tr>
|
|
591
|
+
</thead>
|
|
592
|
+
|
|
593
|
+
<tbody>
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
<tr>
|
|
597
|
+
|
|
598
|
+
<td class="name"><code>token</code></td>
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
<td class="type">
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
<span class="param-type">String</span>
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
</td>
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
<td class="description last">
|
|
613
|
+
|
|
614
|
+
cesium ion token</td>
|
|
615
|
+
</tr>
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
</tbody>
|
|
619
|
+
</table>
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
<dl class="details">
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
<h5>Example:</h5>
|
|
656
|
+
|
|
657
|
+
<pre><code class="language-javascript">CesiumView.setDefaultAccessToken("your ion token");</code></pre>
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
</dl>
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
<div class="nameContainer">
|
|
676
|
+
<h4 class="name" id=".setNoNight">
|
|
677
|
+
<a href="#.setNoNight" class="doc-link"></a>
|
|
678
|
+
<span class="type-signature attribute-static">static</span> ANOVGIS.CesiumView.setNoNight<span class="signature">()</span>
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
<div class="source-link rightLinks" style="display:none">
|
|
682
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/CesiumView.js#L109">base/utils/CesiumView.js 109</a>
|
|
683
|
+
</div>
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
</h4>
|
|
687
|
+
|
|
688
|
+
</div>
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
<div class="description">
|
|
694
|
+
永远没有黑夜
|
|
695
|
+
</div>
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
<dl class="details">
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
</dl>
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
</article>
|
|
761
|
+
|
|
762
|
+
</section>
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
<div class="help">
|
|
769
|
+
需要帮助 ? 最快获取答案的途径是百度 <a href="https://www.baidu.com/">测试</a>.
|
|
770
|
+
</div>
|
|
771
|
+
|
|
772
|
+
<footer>
|
|
773
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
|
|
774
|
+
</footer>
|
|
775
|
+
</div>
|
|
776
|
+
|
|
777
|
+
<div class="nav">
|
|
778
|
+
<div class="menu">
|
|
779
|
+
<input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
|
|
780
|
+
<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>
|
|
781
|
+
</div>
|
|
782
|
+
</div>
|
|
783
|
+
|
|
784
|
+
<script>
|
|
785
|
+
if (window.frameElement) {
|
|
786
|
+
document.body.className = 'embedded';
|
|
787
|
+
|
|
788
|
+
var ele = document.createElement('a');
|
|
789
|
+
ele.className = 'popout';
|
|
790
|
+
ele.target = '_blank';
|
|
791
|
+
ele.href = window.location.href;
|
|
792
|
+
ele.title = 'Pop out';
|
|
793
|
+
document.getElementById('main').appendChild(ele);
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
// Set targets on external links. Sandcastle and GitHub shouldn't be embedded in any iframe.
|
|
797
|
+
Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
|
|
798
|
+
if (/^https?:/i.test(a.getAttribute('href'))) {
|
|
799
|
+
a.target='_blank';
|
|
800
|
+
}
|
|
801
|
+
});
|
|
802
|
+
</script>
|
|
803
|
+
|
|
804
|
+
<script src="javascript/prism.js"></script>
|
|
805
|
+
<script src="javascript/cesiumDoc.js"></script>
|
|
806
|
+
|
|
807
|
+
</body>
|
|
808
|
+
</html>
|