@mapgis/webclient-cesium-plugin 17.0.7 → 17.2.0

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.
@@ -100,7 +100,7 @@
100
100
 
101
101
  <tr class="deep-level-1">
102
102
 
103
- <td class="name"><code>showSkirt</code></td>
103
+ <td class="name"><code>url</code></td>
104
104
 
105
105
 
106
106
  <td class="type">
@@ -108,7 +108,14 @@
108
108
 
109
109
  <span class="param-type">
110
110
 
111
- Boolean
111
+ String
112
+
113
+ </span>
114
+ |
115
+
116
+ <span class="param-type">
117
+
118
+ Cesium.Resource
112
119
 
113
120
  </span>
114
121
 
@@ -120,12 +127,14 @@
120
127
 
121
128
  <td class="default">
122
129
 
123
- true
130
+ null
124
131
 
125
132
  </td>
126
133
 
127
134
 
128
- <td class="description last"><p>是否显示裙边</p></td>
135
+ <td class="description last"><p>服务基地址,当类型为字符串或者Cesium.Resource时,
136
+ 表示仅加载一个DEM地形服务,如果是一个数组,则表示加载多个DEM地形服务,
137
+ 此时传入的格式变为了[{url:'',range:{},range3D:{},requestVertexNormals:true,maxLevel:20}]</p></td>
129
138
  </tr>
130
139
 
131
140
 
@@ -133,7 +142,7 @@
133
142
 
134
143
  <tr class="deep-level-1">
135
144
 
136
- <td class="name"><code>range</code></td>
145
+ <td class="name"><code>tilingScheme</code></td>
137
146
 
138
147
 
139
148
  <td class="type">
@@ -153,10 +162,12 @@
153
162
 
154
163
  <td class="default">
155
164
 
165
+ Cesium.GeographicTilingScheme()
166
+
156
167
  </td>
157
168
 
158
169
 
159
- <td class="description last"><p>数据范围</p></td>
170
+ <td class="description last"><p>地形的平铺方案</p></td>
160
171
  </tr>
161
172
 
162
173
 
@@ -164,7 +175,7 @@
164
175
 
165
176
  <tr class="deep-level-1">
166
177
 
167
- <td class="name"><code>terrainFormat</code></td>
178
+ <td class="name"><code>range</code></td>
168
179
 
169
180
 
170
181
  <td class="type">
@@ -172,7 +183,7 @@
172
183
 
173
184
  <span class="param-type">
174
185
 
175
- Boolean
186
+ Object
176
187
 
177
188
  </span>
178
189
 
@@ -184,12 +195,12 @@
184
195
 
185
196
  <td class="default">
186
197
 
187
- true
198
+ null
188
199
 
189
200
  </td>
190
201
 
191
202
 
192
- <td class="description last"><p>如果使用地形缓存值为false,否则为true</p></td>
203
+ <td class="description last"><p>地形二维范围</p></td>
193
204
  </tr>
194
205
 
195
206
 
@@ -197,7 +208,7 @@
197
208
 
198
209
  <tr class="deep-level-1">
199
210
 
200
- <td class="name"><code>proxy</code></td>
211
+ <td class="name"><code>range3D</code></td>
201
212
 
202
213
 
203
214
  <td class="type">
@@ -205,7 +216,7 @@
205
216
 
206
217
  <span class="param-type">
207
218
 
208
- Proxy
219
+ Object
209
220
 
210
221
  </span>
211
222
 
@@ -217,10 +228,12 @@
217
228
 
218
229
  <td class="default">
219
230
 
231
+ null
232
+
220
233
  </td>
221
234
 
222
235
 
223
- <td class="description last"><p>使用代理</p></td>
236
+ <td class="description last"><p>地形三维范围</p></td>
224
237
  </tr>
225
238
 
226
239
 
@@ -248,12 +261,12 @@
248
261
 
249
262
  <td class="default">
250
263
 
251
- true
264
+ false
252
265
 
253
266
  </td>
254
267
 
255
268
 
256
- <td class="description last"><p>是否使用地形法向</p></td>
269
+ <td class="description last"><p>是否请求法向量</p></td>
257
270
  </tr>
258
271
 
259
272
 
@@ -286,7 +299,205 @@
286
299
  </td>
287
300
 
288
301
 
289
- <td class="description last"><p>最大级别</p></td>
302
+ <td class="description last"><p>地形最大显示级数</p></td>
303
+ </tr>
304
+
305
+
306
+
307
+
308
+ <tr class="deep-level-1">
309
+
310
+ <td class="name"><code>terrainColorTblInfo</code></td>
311
+
312
+
313
+ <td class="type">
314
+
315
+
316
+ <span class="param-type">
317
+
318
+ Array
319
+
320
+ </span>
321
+
322
+
323
+
324
+
325
+ </td>
326
+
327
+
328
+ <td class="default">
329
+
330
+ null
331
+
332
+ </td>
333
+
334
+
335
+ <td class="description last"><p>地形分析-高程赋色功能的色表,格式为['#000000', '#2747E0', '#D33B7D', '#D33038', '#FF9742', '#ffd700', '#FFFFFF']</p></td>
336
+ </tr>
337
+
338
+
339
+
340
+
341
+ <tr class="deep-level-1">
342
+
343
+ <td class="name"><code>terrainColorTblMinHeight</code></td>
344
+
345
+
346
+ <td class="type">
347
+
348
+
349
+ <span class="param-type">
350
+
351
+ Number
352
+
353
+ </span>
354
+
355
+
356
+
357
+
358
+ </td>
359
+
360
+
361
+ <td class="default">
362
+
363
+ null
364
+
365
+ </td>
366
+
367
+
368
+ <td class="description last"><p>地形分析-高程赋色功能的最小高度</p></td>
369
+ </tr>
370
+
371
+
372
+
373
+
374
+ <tr class="deep-level-1">
375
+
376
+ <td class="name"><code>terrainColorTblMaxHeight</code></td>
377
+
378
+
379
+ <td class="type">
380
+
381
+
382
+ <span class="param-type">
383
+
384
+ Number
385
+
386
+ </span>
387
+
388
+
389
+
390
+
391
+ </td>
392
+
393
+
394
+ <td class="default">
395
+
396
+ null
397
+
398
+ </td>
399
+
400
+
401
+ <td class="description last"><p>地形分析-高程赋色功能的最大高度</p></td>
402
+ </tr>
403
+
404
+
405
+
406
+
407
+ <tr class="deep-level-1">
408
+
409
+ <td class="name"><code>repeat</code></td>
410
+
411
+
412
+ <td class="type">
413
+
414
+
415
+ <span class="param-type">
416
+
417
+ Cesium.Cartesian2
418
+
419
+ </span>
420
+
421
+
422
+
423
+
424
+ </td>
425
+
426
+
427
+ <td class="default">
428
+
429
+ new Cesium.Cartesian2(1, 1)
430
+
431
+ </td>
432
+
433
+
434
+ <td class="description last"><p>坡度箭头重复次数</p></td>
435
+ </tr>
436
+
437
+
438
+
439
+
440
+ <tr class="deep-level-1">
441
+
442
+ <td class="name"><code>proxy</code></td>
443
+
444
+
445
+ <td class="type">
446
+
447
+
448
+ <span class="param-type">
449
+
450
+ Cesium.Proxy
451
+
452
+ </span>
453
+
454
+
455
+
456
+
457
+ </td>
458
+
459
+
460
+ <td class="default">
461
+
462
+ null
463
+
464
+ </td>
465
+
466
+
467
+ <td class="description last"><p>请求拦截器,可对最后发出的请求链接进行编辑</p></td>
468
+ </tr>
469
+
470
+
471
+
472
+
473
+ <tr class="deep-level-1">
474
+
475
+ <td class="name"><code>serviceList</code></td>
476
+
477
+
478
+ <td class="type">
479
+
480
+
481
+ <span class="param-type">
482
+
483
+ Array
484
+
485
+ </span>
486
+
487
+
488
+
489
+
490
+ </td>
491
+
492
+
493
+ <td class="default">
494
+
495
+ []
496
+
497
+ </td>
498
+
499
+
500
+ <td class="description last"><p>多个DEM地形服务列表。当url为空时,则加载serviceList中的多个DEM地形服务。</p></td>
290
501
  </tr>
291
502
 
292
503
 
@@ -396,34 +607,13 @@
396
607
  <tbody>
397
608
 
398
609
  <tr class="deep-level-0">
399
- <td class="name"><code><a href="#availability">availability</a></code></td>
400
- <td class="name">
401
- <code>
402
-
403
- <span class="param-type">
404
-
405
- Cesium.TileAvailability
406
-
407
- </span>
408
-
409
-
410
-
411
- </code>
412
- </td>
413
- <td class="name"><code><p>Gets an object that can be used to determine availability of terrain from this provider, such as
414
- at points and in rectangles. This function should not be called before
415
- <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true. This property may be undefined if availability
416
- information is not available.</p></code></td>
417
- </tr>
418
-
419
- <tr class="deep-level-0">
420
- <td class="name"><code><a href="#credit">credit</a></code></td>
610
+ <td class="name"><code><a href="#hasVertexNormals">hasVertexNormals</a></code></td>
421
611
  <td class="name">
422
612
  <code>
423
613
 
424
614
  <span class="param-type">
425
615
 
426
- Cesium.Credit
616
+ Boolean
427
617
 
428
618
  </span>
429
619
 
@@ -431,18 +621,17 @@ information is not available.</p></code></td>
431
621
 
432
622
  </code>
433
623
  </td>
434
- <td class="name"><code><p>Gets the credit to display when this terrain provider is active. Typically this is used to credit
435
- the source of the terrain. This function should not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p></code></td>
624
+ <td class="name"><code><p>是否应用地形法向量</p></code></td>
436
625
  </tr>
437
626
 
438
627
  <tr class="deep-level-0">
439
- <td class="name"><code><a href="#errorEvent">errorEvent</a></code></td>
628
+ <td class="name"><code><a href="#id">id</a></code></td>
440
629
  <td class="name">
441
630
  <code>
442
631
 
443
632
  <span class="param-type">
444
633
 
445
- Cesium.Event
634
+ String
446
635
 
447
636
  </span>
448
637
 
@@ -450,19 +639,17 @@ the source of the terrain. This function should not be called before <a class="
450
639
 
451
640
  </code>
452
641
  </td>
453
- <td class="name"><code><p>Gets an event that is raised when the terrain provider encounters an asynchronous error. By subscribing
454
- to the event, you will be notified of the error and can potentially recover from it. Cesium.Event listeners
455
- are passed an instance of <code>Cesium.TileProviderError</code>.</p></code></td>
642
+ <td class="name"><code><p>地形id编号</p></code></td>
456
643
  </tr>
457
644
 
458
645
  <tr class="deep-level-0">
459
- <td class="name"><code><a href="#hasMetadata">hasMetadata</a></code></td>
646
+ <td class="name"><code><a href="#maxLevel">maxLevel</a></code></td>
460
647
  <td class="name">
461
648
  <code>
462
649
 
463
650
  <span class="param-type">
464
651
 
465
- Boolean
652
+ Number
466
653
 
467
654
  </span>
468
655
 
@@ -470,18 +657,17 @@ are passed an instance of <code>Cesium.TileProviderError</code>.</p></code></td>
470
657
 
471
658
  </code>
472
659
  </td>
473
- <td class="name"><code><p>Gets a value indicating whether or not the requested tiles include metadata.
474
- This function should not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p></code></td>
660
+ <td class="name"><code><p>地形最大显示级数</p></code></td>
475
661
  </tr>
476
662
 
477
663
  <tr class="deep-level-0">
478
- <td class="name"><code><a href="#hasVertexNormals">hasVertexNormals</a></code></td>
664
+ <td class="name"><code><a href="#proxy">proxy</a></code></td>
479
665
  <td class="name">
480
666
  <code>
481
667
 
482
668
  <span class="param-type">
483
669
 
484
- Boolean
670
+ Object
485
671
 
486
672
  </span>
487
673
 
@@ -489,18 +675,17 @@ This function should not be called before <a class="mapgis-link-name" title="Map
489
675
 
490
676
  </code>
491
677
  </td>
492
- <td class="name"><code><p>Gets a value indicating whether or not the requested tiles include vertex normals.
493
- This function should not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p></code></td>
678
+ <td class="name"><code><p>请求拦截器,可对最后发出的请求链接进行编辑</p></code></td>
494
679
  </tr>
495
680
 
496
681
  <tr class="deep-level-0">
497
- <td class="name"><code><a href="#hasWaterMask">hasWaterMask</a></code></td>
682
+ <td class="name"><code><a href="#range">range</a></code></td>
498
683
  <td class="name">
499
684
  <code>
500
685
 
501
686
  <span class="param-type">
502
687
 
503
- Boolean
688
+ Object
504
689
 
505
690
  </span>
506
691
 
@@ -508,10 +693,7 @@ This function should not be called before <a class="mapgis-link-name" title="Map
508
693
 
509
694
  </code>
510
695
  </td>
511
- <td class="name"><code><p>Gets a value indicating whether or not the provider includes a water mask. The water mask
512
- indicates which areas of the globe are water rather than land, so they can be rendered
513
- as a reflective surface with animated waves. This function should not be
514
- called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p></code></td>
696
+ <td class="name"><code><p>地形二维范围</p></code></td>
515
697
  </tr>
516
698
 
517
699
  <tr class="deep-level-0">
@@ -521,7 +703,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
521
703
 
522
704
  <span class="param-type">
523
705
 
524
- Array
706
+ Object
525
707
 
526
708
  </span>
527
709
 
@@ -529,7 +711,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
529
711
 
530
712
  </code>
531
713
  </td>
532
- <td class="name"><code><p>获取地形范围</p></code></td>
714
+ <td class="name"><code><p>地形三维范围</p></code></td>
533
715
  </tr>
534
716
 
535
717
  <tr class="deep-level-0">
@@ -547,7 +729,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
547
729
 
548
730
  </code>
549
731
  </td>
550
- <td class="name"><code><p>Gets a value indicating whether or not the provider is ready for use.</p></code></td>
732
+ <td class="name"><code><p>地形是否可用</p></code></td>
551
733
  </tr>
552
734
 
553
735
  <tr class="deep-level-0">
@@ -557,422 +739,148 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
557
739
 
558
740
  <span class="param-type">
559
741
 
560
- Promise.&lt;Boolean>
561
-
562
- </span>
563
-
564
-
565
-
566
- </code>
567
- </td>
568
- <td class="name"><code><p>Gets a promise that resolves to true when the provider is ready for use.</p></code></td>
569
- </tr>
570
-
571
- <tr class="deep-level-0">
572
- <td class="name"><code><a href="#requestMetadata">requestMetadata</a></code></td>
573
- <td class="name">
574
- <code>
575
-
576
- <span class="param-type">
577
-
578
- Boolean
579
-
580
- </span>
581
-
582
-
583
-
584
- </code>
585
- </td>
586
- <td class="name"><code><p>Boolean flag that indicates if the client should request metadata from the server.
587
- Metadata is appended to the standard tile mesh data only if the client requests the metadata and
588
- if the server provides a metadata.</p></code></td>
589
- </tr>
590
-
591
- <tr class="deep-level-0">
592
- <td class="name"><code><a href="#requestVertexNormals">requestVertexNormals</a></code></td>
593
- <td class="name">
594
- <code>
595
-
596
- <span class="param-type">
597
-
598
- Boolean
742
+ Promise
599
743
 
600
744
  </span>
601
745
 
602
746
 
603
747
 
604
- </code>
605
- </td>
606
- <td class="name"><code><p>Boolean flag that indicates if the client should request vertex normals from the server.
607
- Vertex normals data is appended to the standard tile mesh data only if the client requests the vertex normals and
608
- if the server provides vertex normals.</p></code></td>
609
- </tr>
610
-
611
- <tr class="deep-level-0">
612
- <td class="name"><code><a href="#requestWaterMask">requestWaterMask</a></code></td>
613
- <td class="name">
614
- <code>
615
-
616
- <span class="param-type">
617
-
618
- Boolean
619
-
620
- </span>
621
-
622
-
623
-
624
- </code>
625
- </td>
626
- <td class="name"><code><p>Boolean flag that indicates if the client should request a watermask from the server.
627
- Watermask data is appended to the standard tile mesh data only if the client requests the watermask and
628
- if the server provides a watermask.</p></code></td>
629
- </tr>
630
-
631
- <tr class="deep-level-0">
632
- <td class="name"><code><a href="#show">show</a></code></td>
633
- <td class="name">
634
- <code>
635
-
636
- <span class="param-type">
637
-
638
- Boolean
639
-
640
- </span>
641
-
642
-
643
-
644
- </code>
645
- </td>
646
- <td class="name"><code><p>是否显示地形</p></code></td>
647
- </tr>
648
-
649
- <tr class="deep-level-0">
650
- <td class="name"><code><a href="#showSkirt">showSkirt</a></code></td>
651
- <td class="name">
652
- <code>
653
-
654
- <span class="param-type">
655
-
656
- Boolean
657
-
658
- </span>
659
-
660
-
661
-
662
- </code>
663
- </td>
664
- <td class="name"><code><p>是否显示裙边(只有MapGIS的地形可以设置)</p></code></td>
665
- </tr>
666
-
667
- <tr class="deep-level-0">
668
- <td class="name"><code><a href="#terrainColorTblInfo">terrainColorTblInfo</a></code></td>
669
- <td class="name">
670
- <code>
671
-
672
- <span class="param-type">
673
-
674
- Array
675
-
676
- </span>
677
-
678
-
679
-
680
- </code>
681
- </td>
682
- <td class="name"><code><p>获取地形色表信息</p></code></td>
683
- </tr>
684
-
685
- <tr class="deep-level-0">
686
- <td class="name"><code><a href="#terrainColorTblMaxHeight">terrainColorTblMaxHeight</a></code></td>
687
- <td class="name">
688
- <code>
689
-
690
- <span class="param-type">
691
-
692
- Number
693
-
694
- </span>
695
-
696
-
697
-
698
- </code>
699
- </td>
700
- <td class="name"><code><p>获取地形色表最大高程</p></code></td>
701
- </tr>
702
-
703
- <tr class="deep-level-0">
704
- <td class="name"><code><a href="#terrainColorTblMinHeight">terrainColorTblMinHeight</a></code></td>
705
- <td class="name">
706
- <code>
707
-
708
- <span class="param-type">
709
-
710
- Number
711
-
712
- </span>
713
-
714
-
715
-
716
- </code>
717
- </td>
718
- <td class="name"><code><p>获取地形色表最小高程</p></code></td>
719
- </tr>
720
-
721
- <tr class="deep-level-0">
722
- <td class="name"><code><a href="#tilingScheme">tilingScheme</a></code></td>
723
- <td class="name">
724
- <code>
725
-
726
- <span class="param-type">
727
-
728
- Cesium.GeographicTilingScheme
729
-
730
- </span>
731
-
732
-
733
-
734
- </code>
735
- </td>
736
- <td class="name"><code><p>Gets the tiling scheme used by this provider. This function should
737
- not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p></code></td>
738
- </tr>
739
-
740
- </tbody>
741
- </table>
742
- </div>
743
- <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
744
- <div class="members">
745
-
746
- <div class="member">
747
-
748
- <span class="method-parameter is-pulled-right">
749
- <label>类型:</label>
750
-
751
- <span class="param-type">
752
-
753
- Cesium.TileAvailability
754
-
755
- </span>
756
-
757
-
758
-
759
- </span>
760
-
761
- <h4 class="name" id="availability">
762
- <a class="href-link" href="#availability">#</a>
763
-
764
- <span class="code-name">
765
- availability
766
- </span>
767
-
768
- </h4>
769
-
770
-
771
-
772
-
773
- <div class="description">
774
- <p>Gets an object that can be used to determine availability of terrain from this provider, such as
775
- at points and in rectangles. This function should not be called before
776
- <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true. This property may be undefined if availability
777
- information is not available.</p>
778
- </div>
779
-
780
-
781
-
782
-
783
-
784
- <dl class="details">
785
-
786
-
787
-
788
-
789
-
790
-
791
-
792
-
793
-
794
-
795
-
796
-
797
-
798
-
799
-
800
-
801
-
802
-
803
-
804
-
805
-
806
-
807
-
808
-
809
-
810
-
811
-
812
-
813
-
814
-
815
-
816
- </dl>
817
-
818
-
819
-
820
-
821
-
822
- </div>
823
-
824
- <div class="member">
825
-
826
- <span class="method-parameter is-pulled-right">
827
- <label>类型:</label>
828
-
829
- <span class="param-type">
830
-
831
- Cesium.Credit
832
-
833
- </span>
834
-
835
-
836
-
837
- </span>
838
-
839
- <h4 class="name" id="credit">
840
- <a class="href-link" href="#credit">#</a>
841
-
842
- <span class="code-name">
843
- credit
844
- </span>
845
-
846
- </h4>
847
-
848
-
849
-
850
-
851
- <div class="description">
852
- <p>Gets the credit to display when this terrain provider is active. Typically this is used to credit
853
- the source of the terrain. This function should not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p>
854
- </div>
855
-
856
-
857
-
858
-
859
-
860
- <dl class="details">
861
-
862
-
863
-
864
-
865
-
866
-
867
-
868
-
869
-
870
-
871
-
872
-
873
-
874
-
875
-
876
-
877
-
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
-
886
-
887
-
888
-
889
-
890
-
891
-
892
- </dl>
893
-
894
-
895
-
896
-
897
-
898
- </div>
899
-
900
- <div class="member">
901
-
902
- <span class="method-parameter is-pulled-right">
903
- <label>类型:</label>
904
-
748
+ </code>
749
+ </td>
750
+ <td class="name"><code><p>地形可用后的回调,此时地形数据不一定加载完毕</p></code></td>
751
+ </tr>
752
+
753
+ <tr class="deep-level-0">
754
+ <td class="name"><code><a href="#repeat">repeat</a></code></td>
755
+ <td class="name">
756
+ <code>
757
+
905
758
  <span class="param-type">
906
759
 
907
- Cesium.Event
760
+ Cesium.Cartesian2
908
761
 
909
762
  </span>
910
763
 
911
764
 
912
765
 
913
- </span>
914
-
915
- <h4 class="name" id="errorEvent">
916
- <a class="href-link" href="#errorEvent">#</a>
766
+ </code>
767
+ </td>
768
+ <td class="name"><code><p>坡度箭头的重复次数</p></code></td>
769
+ </tr>
770
+
771
+ <tr class="deep-level-0">
772
+ <td class="name"><code><a href="#requestVertexNormals">requestVertexNormals</a></code></td>
773
+ <td class="name">
774
+ <code>
775
+
776
+ <span class="param-type">
917
777
 
918
- <span class="code-name">
919
- errorEvent
920
- </span>
778
+ Boolean
921
779
 
922
- </h4>
923
-
924
-
925
-
926
-
927
- <div class="description">
928
- <p>Gets an event that is raised when the terrain provider encounters an asynchronous error. By subscribing
929
- to the event, you will be notified of the error and can potentially recover from it. Cesium.Event listeners
930
- are passed an instance of <code>Cesium.TileProviderError</code>.</p>
931
- </div>
932
-
933
-
934
-
780
+ </span>
935
781
 
936
782
 
937
- <dl class="details">
938
783
 
784
+ </code>
785
+ </td>
786
+ <td class="name"><code><p>是否请求法向量</p></code></td>
787
+ </tr>
788
+
789
+ <tr class="deep-level-0">
790
+ <td class="name"><code><a href="#terrainColorTblInfo">terrainColorTblInfo</a></code></td>
791
+ <td class="name">
792
+ <code>
793
+
794
+ <span class="param-type">
939
795
 
940
-
796
+ Array
941
797
 
798
+ </span>
942
799
 
943
-
944
800
 
945
-
946
801
 
802
+ </code>
803
+ </td>
804
+ <td class="name"><code><p>地形分析-高程赋色功能的色表,格式为['#000000', '#2747E0', '#D33B7D', '#D33038', '#FF9742', '#ffd700', '#FFFFFF']</p></code></td>
805
+ </tr>
806
+
807
+ <tr class="deep-level-0">
808
+ <td class="name"><code><a href="#terrainColorTblMaxHeight">terrainColorTblMaxHeight</a></code></td>
809
+ <td class="name">
810
+ <code>
811
+
812
+ <span class="param-type">
947
813
 
948
-
814
+ Number
949
815
 
816
+ </span>
950
817
 
951
-
952
818
 
953
-
954
819
 
820
+ </code>
821
+ </td>
822
+ <td class="name"><code><p>地形分析-高程赋色功能的最大高度</p></code></td>
823
+ </tr>
824
+
825
+ <tr class="deep-level-0">
826
+ <td class="name"><code><a href="#terrainColorTblMinHeight">terrainColorTblMinHeight</a></code></td>
827
+ <td class="name">
828
+ <code>
829
+
830
+ <span class="param-type">
955
831
 
956
-
832
+ Number
957
833
 
834
+ </span>
958
835
 
959
-
960
836
 
961
-
962
-
963
837
 
838
+ </code>
839
+ </td>
840
+ <td class="name"><code><p>地形分析-高程赋色功能的最小高度</p></code></td>
841
+ </tr>
842
+
843
+ <tr class="deep-level-0">
844
+ <td class="name"><code><a href="#tilingScheme">tilingScheme</a></code></td>
845
+ <td class="name">
846
+ <code>
847
+
848
+ <span class="param-type">
964
849
 
965
-
850
+ Object
966
851
 
852
+ </span>
967
853
 
968
-
969
- </dl>
970
854
 
971
855
 
856
+ </code>
857
+ </td>
858
+ <td class="name"><code><p>地形的平铺方案</p></code></td>
859
+ </tr>
860
+
861
+ <tr class="deep-level-0">
862
+ <td class="name"><code><a href="#url">url</a></code></td>
863
+ <td class="name">
864
+ <code>
865
+
866
+ <span class="param-type">
867
+
868
+ String
869
+
870
+ </span>
972
871
 
973
872
 
974
873
 
975
- </div>
874
+ </code>
875
+ </td>
876
+ <td class="name"><code><p>服务基地址</p></code></td>
877
+ </tr>
878
+
879
+ </tbody>
880
+ </table>
881
+ </div>
882
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
883
+ <div class="members">
976
884
 
977
885
  <div class="member">
978
886
 
@@ -989,11 +897,15 @@ are passed an instance of <code>Cesium.TileProviderError</code>.</p>
989
897
 
990
898
  </span>
991
899
 
992
- <h4 class="name" id="hasMetadata">
993
- <a class="href-link" href="#hasMetadata">#</a>
900
+ <h4 class="name" id="hasVertexNormals">
901
+ <a class="href-link" href="#hasVertexNormals">#</a>
902
+
903
+
904
+ <span class='tag'>readonly</span>
905
+
994
906
 
995
907
  <span class="code-name">
996
- hasMetadata
908
+ hasVertexNormals
997
909
  </span>
998
910
 
999
911
  </h4>
@@ -1002,8 +914,7 @@ are passed an instance of <code>Cesium.TileProviderError</code>.</p>
1002
914
 
1003
915
 
1004
916
  <div class="description">
1005
- <p>Gets a value indicating whether or not the requested tiles include metadata.
1006
- This function should not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p>
917
+ <p>是否应用地形法向量</p>
1007
918
  </div>
1008
919
 
1009
920
 
@@ -1057,7 +968,7 @@ This function should not be called before <a class="mapgis-link-name" title="Map
1057
968
 
1058
969
  <span class="param-type">
1059
970
 
1060
- Boolean
971
+ String
1061
972
 
1062
973
  </span>
1063
974
 
@@ -1065,11 +976,11 @@ This function should not be called before <a class="mapgis-link-name" title="Map
1065
976
 
1066
977
  </span>
1067
978
 
1068
- <h4 class="name" id="hasVertexNormals">
1069
- <a class="href-link" href="#hasVertexNormals">#</a>
979
+ <h4 class="name" id="id">
980
+ <a class="href-link" href="#id">#</a>
1070
981
 
1071
982
  <span class="code-name">
1072
- hasVertexNormals
983
+ id
1073
984
  </span>
1074
985
 
1075
986
  </h4>
@@ -1078,8 +989,7 @@ This function should not be called before <a class="mapgis-link-name" title="Map
1078
989
 
1079
990
 
1080
991
  <div class="description">
1081
- <p>Gets a value indicating whether or not the requested tiles include vertex normals.
1082
- This function should not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p>
992
+ <p>地形id编号</p>
1083
993
  </div>
1084
994
 
1085
995
 
@@ -1133,7 +1043,7 @@ This function should not be called before <a class="mapgis-link-name" title="Map
1133
1043
 
1134
1044
  <span class="param-type">
1135
1045
 
1136
- Boolean
1046
+ Number
1137
1047
 
1138
1048
  </span>
1139
1049
 
@@ -1141,11 +1051,11 @@ This function should not be called before <a class="mapgis-link-name" title="Map
1141
1051
 
1142
1052
  </span>
1143
1053
 
1144
- <h4 class="name" id="hasWaterMask">
1145
- <a class="href-link" href="#hasWaterMask">#</a>
1054
+ <h4 class="name" id="maxLevel">
1055
+ <a class="href-link" href="#maxLevel">#</a>
1146
1056
 
1147
1057
  <span class="code-name">
1148
- hasWaterMask
1058
+ maxLevel
1149
1059
  </span>
1150
1060
 
1151
1061
  </h4>
@@ -1154,10 +1064,7 @@ This function should not be called before <a class="mapgis-link-name" title="Map
1154
1064
 
1155
1065
 
1156
1066
  <div class="description">
1157
- <p>Gets a value indicating whether or not the provider includes a water mask. The water mask
1158
- indicates which areas of the globe are water rather than land, so they can be rendered
1159
- as a reflective surface with animated waves. This function should not be
1160
- called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p>
1067
+ <p>地形最大显示级数</p>
1161
1068
  </div>
1162
1069
 
1163
1070
 
@@ -1188,6 +1095,11 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1188
1095
 
1189
1096
 
1190
1097
 
1098
+
1099
+ <dt class="tag-default">Default Value:</dt>
1100
+ <dd class="tag-default"><ul class="dummy">
1101
+ <li>20</li>
1102
+ </ul></dd>
1191
1103
 
1192
1104
 
1193
1105
 
@@ -1211,7 +1123,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1211
1123
 
1212
1124
  <span class="param-type">
1213
1125
 
1214
- Array
1126
+ Object
1215
1127
 
1216
1128
  </span>
1217
1129
 
@@ -1219,11 +1131,11 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1219
1131
 
1220
1132
  </span>
1221
1133
 
1222
- <h4 class="name" id="range3D">
1223
- <a class="href-link" href="#range3D">#</a>
1134
+ <h4 class="name" id="proxy">
1135
+ <a class="href-link" href="#proxy">#</a>
1224
1136
 
1225
1137
  <span class="code-name">
1226
- range3D
1138
+ proxy
1227
1139
  </span>
1228
1140
 
1229
1141
  </h4>
@@ -1232,7 +1144,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1232
1144
 
1233
1145
 
1234
1146
  <div class="description">
1235
- <p>获取地形范围</p>
1147
+ <p>请求拦截器,可对最后发出的请求链接进行编辑</p>
1236
1148
  </div>
1237
1149
 
1238
1150
 
@@ -1286,7 +1198,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1286
1198
 
1287
1199
  <span class="param-type">
1288
1200
 
1289
- Boolean
1201
+ Object
1290
1202
 
1291
1203
  </span>
1292
1204
 
@@ -1294,11 +1206,11 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1294
1206
 
1295
1207
  </span>
1296
1208
 
1297
- <h4 class="name" id="ready">
1298
- <a class="href-link" href="#ready">#</a>
1209
+ <h4 class="name" id="range">
1210
+ <a class="href-link" href="#range">#</a>
1299
1211
 
1300
1212
  <span class="code-name">
1301
- ready
1213
+ range
1302
1214
  </span>
1303
1215
 
1304
1216
  </h4>
@@ -1307,7 +1219,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1307
1219
 
1308
1220
 
1309
1221
  <div class="description">
1310
- <p>Gets a value indicating whether or not the provider is ready for use.</p>
1222
+ <p>地形二维范围</p>
1311
1223
  </div>
1312
1224
 
1313
1225
 
@@ -1361,7 +1273,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1361
1273
 
1362
1274
  <span class="param-type">
1363
1275
 
1364
- Promise.&lt;Boolean>
1276
+ Object
1365
1277
 
1366
1278
  </span>
1367
1279
 
@@ -1369,15 +1281,11 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1369
1281
 
1370
1282
  </span>
1371
1283
 
1372
- <h4 class="name" id="readyPromise">
1373
- <a class="href-link" href="#readyPromise">#</a>
1374
-
1375
-
1376
- <span class='tag'>readonly</span>
1377
-
1284
+ <h4 class="name" id="range3D">
1285
+ <a class="href-link" href="#range3D">#</a>
1378
1286
 
1379
1287
  <span class="code-name">
1380
- readyPromise
1288
+ range3D
1381
1289
  </span>
1382
1290
 
1383
1291
  </h4>
@@ -1386,7 +1294,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1386
1294
 
1387
1295
 
1388
1296
  <div class="description">
1389
- <p>Gets a promise that resolves to true when the provider is ready for use.</p>
1297
+ <p>地形三维范围</p>
1390
1298
  </div>
1391
1299
 
1392
1300
 
@@ -1448,11 +1356,15 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1448
1356
 
1449
1357
  </span>
1450
1358
 
1451
- <h4 class="name" id="requestMetadata">
1452
- <a class="href-link" href="#requestMetadata">#</a>
1359
+ <h4 class="name" id="ready">
1360
+ <a class="href-link" href="#ready">#</a>
1361
+
1362
+
1363
+ <span class='tag'>readonly</span>
1364
+
1453
1365
 
1454
1366
  <span class="code-name">
1455
- requestMetadata
1367
+ ready
1456
1368
  </span>
1457
1369
 
1458
1370
  </h4>
@@ -1461,9 +1373,7 @@ called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" Ma
1461
1373
 
1462
1374
 
1463
1375
  <div class="description">
1464
- <p>Boolean flag that indicates if the client should request metadata from the server.
1465
- Metadata is appended to the standard tile mesh data only if the client requests the metadata and
1466
- if the server provides a metadata.</p>
1376
+ <p>地形是否可用</p>
1467
1377
  </div>
1468
1378
 
1469
1379
 
@@ -1517,7 +1427,7 @@ if the server provides a metadata.</p>
1517
1427
 
1518
1428
  <span class="param-type">
1519
1429
 
1520
- Boolean
1430
+ Promise
1521
1431
 
1522
1432
  </span>
1523
1433
 
@@ -1525,11 +1435,15 @@ if the server provides a metadata.</p>
1525
1435
 
1526
1436
  </span>
1527
1437
 
1528
- <h4 class="name" id="requestVertexNormals">
1529
- <a class="href-link" href="#requestVertexNormals">#</a>
1438
+ <h4 class="name" id="readyPromise">
1439
+ <a class="href-link" href="#readyPromise">#</a>
1440
+
1441
+
1442
+ <span class='tag'>readonly</span>
1443
+
1530
1444
 
1531
1445
  <span class="code-name">
1532
- requestVertexNormals
1446
+ readyPromise
1533
1447
  </span>
1534
1448
 
1535
1449
  </h4>
@@ -1538,9 +1452,7 @@ if the server provides a metadata.</p>
1538
1452
 
1539
1453
 
1540
1454
  <div class="description">
1541
- <p>Boolean flag that indicates if the client should request vertex normals from the server.
1542
- Vertex normals data is appended to the standard tile mesh data only if the client requests the vertex normals and
1543
- if the server provides vertex normals.</p>
1455
+ <p>地形可用后的回调,此时地形数据不一定加载完毕</p>
1544
1456
  </div>
1545
1457
 
1546
1458
 
@@ -1594,7 +1506,7 @@ if the server provides vertex normals.</p>
1594
1506
 
1595
1507
  <span class="param-type">
1596
1508
 
1597
- Boolean
1509
+ Cesium.Cartesian2
1598
1510
 
1599
1511
  </span>
1600
1512
 
@@ -1602,11 +1514,11 @@ if the server provides vertex normals.</p>
1602
1514
 
1603
1515
  </span>
1604
1516
 
1605
- <h4 class="name" id="requestWaterMask">
1606
- <a class="href-link" href="#requestWaterMask">#</a>
1517
+ <h4 class="name" id="repeat">
1518
+ <a class="href-link" href="#repeat">#</a>
1607
1519
 
1608
1520
  <span class="code-name">
1609
- requestWaterMask
1521
+ repeat
1610
1522
  </span>
1611
1523
 
1612
1524
  </h4>
@@ -1615,9 +1527,7 @@ if the server provides vertex normals.</p>
1615
1527
 
1616
1528
 
1617
1529
  <div class="description">
1618
- <p>Boolean flag that indicates if the client should request a watermask from the server.
1619
- Watermask data is appended to the standard tile mesh data only if the client requests the watermask and
1620
- if the server provides a watermask.</p>
1530
+ <p>坡度箭头的重复次数</p>
1621
1531
  </div>
1622
1532
 
1623
1533
 
@@ -1679,11 +1589,15 @@ if the server provides a watermask.</p>
1679
1589
 
1680
1590
  </span>
1681
1591
 
1682
- <h4 class="name" id="show">
1683
- <a class="href-link" href="#show">#</a>
1592
+ <h4 class="name" id="requestVertexNormals">
1593
+ <a class="href-link" href="#requestVertexNormals">#</a>
1594
+
1595
+
1596
+ <span class='tag'>readonly</span>
1597
+
1684
1598
 
1685
1599
  <span class="code-name">
1686
- show
1600
+ requestVertexNormals
1687
1601
  </span>
1688
1602
 
1689
1603
  </h4>
@@ -1692,7 +1606,7 @@ if the server provides a watermask.</p>
1692
1606
 
1693
1607
 
1694
1608
  <div class="description">
1695
- <p>是否显示地形</p>
1609
+ <p>是否请求法向量</p>
1696
1610
  </div>
1697
1611
 
1698
1612
 
@@ -1746,7 +1660,7 @@ if the server provides a watermask.</p>
1746
1660
 
1747
1661
  <span class="param-type">
1748
1662
 
1749
- Boolean
1663
+ Array
1750
1664
 
1751
1665
  </span>
1752
1666
 
@@ -1754,11 +1668,11 @@ if the server provides a watermask.</p>
1754
1668
 
1755
1669
  </span>
1756
1670
 
1757
- <h4 class="name" id="showSkirt">
1758
- <a class="href-link" href="#showSkirt">#</a>
1671
+ <h4 class="name" id="terrainColorTblInfo">
1672
+ <a class="href-link" href="#terrainColorTblInfo">#</a>
1759
1673
 
1760
1674
  <span class="code-name">
1761
- showSkirt
1675
+ terrainColorTblInfo
1762
1676
  </span>
1763
1677
 
1764
1678
  </h4>
@@ -1767,7 +1681,7 @@ if the server provides a watermask.</p>
1767
1681
 
1768
1682
 
1769
1683
  <div class="description">
1770
- <p>是否显示裙边(只有MapGIS的地形可以设置)</p>
1684
+ <p>地形分析-高程赋色功能的色表,格式为['#000000', '#2747E0', '#D33B7D', '#D33038', '#FF9742', '#ffd700', '#FFFFFF']</p>
1771
1685
  </div>
1772
1686
 
1773
1687
 
@@ -1821,7 +1735,7 @@ if the server provides a watermask.</p>
1821
1735
 
1822
1736
  <span class="param-type">
1823
1737
 
1824
- Array
1738
+ Number
1825
1739
 
1826
1740
  </span>
1827
1741
 
@@ -1829,11 +1743,11 @@ if the server provides a watermask.</p>
1829
1743
 
1830
1744
  </span>
1831
1745
 
1832
- <h4 class="name" id="terrainColorTblInfo">
1833
- <a class="href-link" href="#terrainColorTblInfo">#</a>
1746
+ <h4 class="name" id="terrainColorTblMaxHeight">
1747
+ <a class="href-link" href="#terrainColorTblMaxHeight">#</a>
1834
1748
 
1835
1749
  <span class="code-name">
1836
- terrainColorTblInfo
1750
+ terrainColorTblMaxHeight
1837
1751
  </span>
1838
1752
 
1839
1753
  </h4>
@@ -1842,7 +1756,7 @@ if the server provides a watermask.</p>
1842
1756
 
1843
1757
 
1844
1758
  <div class="description">
1845
- <p>获取地形色表信息</p>
1759
+ <p>地形分析-高程赋色功能的最大高度</p>
1846
1760
  </div>
1847
1761
 
1848
1762
 
@@ -1904,11 +1818,11 @@ if the server provides a watermask.</p>
1904
1818
 
1905
1819
  </span>
1906
1820
 
1907
- <h4 class="name" id="terrainColorTblMaxHeight">
1908
- <a class="href-link" href="#terrainColorTblMaxHeight">#</a>
1821
+ <h4 class="name" id="terrainColorTblMinHeight">
1822
+ <a class="href-link" href="#terrainColorTblMinHeight">#</a>
1909
1823
 
1910
1824
  <span class="code-name">
1911
- terrainColorTblMaxHeight
1825
+ terrainColorTblMinHeight
1912
1826
  </span>
1913
1827
 
1914
1828
  </h4>
@@ -1917,7 +1831,7 @@ if the server provides a watermask.</p>
1917
1831
 
1918
1832
 
1919
1833
  <div class="description">
1920
- <p>获取地形色表最大高程</p>
1834
+ <p>地形分析-高程赋色功能的最小高度</p>
1921
1835
  </div>
1922
1836
 
1923
1837
 
@@ -1971,7 +1885,7 @@ if the server provides a watermask.</p>
1971
1885
 
1972
1886
  <span class="param-type">
1973
1887
 
1974
- Number
1888
+ Object
1975
1889
 
1976
1890
  </span>
1977
1891
 
@@ -1979,11 +1893,11 @@ if the server provides a watermask.</p>
1979
1893
 
1980
1894
  </span>
1981
1895
 
1982
- <h4 class="name" id="terrainColorTblMinHeight">
1983
- <a class="href-link" href="#terrainColorTblMinHeight">#</a>
1896
+ <h4 class="name" id="tilingScheme">
1897
+ <a class="href-link" href="#tilingScheme">#</a>
1984
1898
 
1985
1899
  <span class="code-name">
1986
- terrainColorTblMinHeight
1900
+ tilingScheme
1987
1901
  </span>
1988
1902
 
1989
1903
  </h4>
@@ -1992,7 +1906,7 @@ if the server provides a watermask.</p>
1992
1906
 
1993
1907
 
1994
1908
  <div class="description">
1995
- <p>获取地形色表最小高程</p>
1909
+ <p>地形的平铺方案</p>
1996
1910
  </div>
1997
1911
 
1998
1912
 
@@ -2023,6 +1937,11 @@ if the server provides a watermask.</p>
2023
1937
 
2024
1938
 
2025
1939
 
1940
+
1941
+ <dt class="tag-default">Default Value:</dt>
1942
+ <dd class="tag-default"><ul class="dummy">
1943
+ <li>Cesium.GeographicTilingScheme</li>
1944
+ </ul></dd>
2026
1945
 
2027
1946
 
2028
1947
 
@@ -2046,7 +1965,7 @@ if the server provides a watermask.</p>
2046
1965
 
2047
1966
  <span class="param-type">
2048
1967
 
2049
- Cesium.GeographicTilingScheme
1968
+ String
2050
1969
 
2051
1970
  </span>
2052
1971
 
@@ -2054,11 +1973,11 @@ if the server provides a watermask.</p>
2054
1973
 
2055
1974
  </span>
2056
1975
 
2057
- <h4 class="name" id="tilingScheme">
2058
- <a class="href-link" href="#tilingScheme">#</a>
1976
+ <h4 class="name" id="url">
1977
+ <a class="href-link" href="#url">#</a>
2059
1978
 
2060
1979
  <span class="code-name">
2061
- tilingScheme
1980
+ url
2062
1981
  </span>
2063
1982
 
2064
1983
  </h4>
@@ -2067,8 +1986,7 @@ if the server provides a watermask.</p>
2067
1986
 
2068
1987
 
2069
1988
  <div class="description">
2070
- <p>Gets the tiling scheme used by this provider. This function should
2071
- not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#ready" MapGISTerrainProvider.html#ready><code>MapGISTerrainProvider#ready</code></a> returns true.</p>
1989
+ <p>服务基地址</p>
2072
1990
  </div>
2073
1991
 
2074
1992
 
@@ -2179,7 +2097,9 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2179
2097
 
2180
2098
  </code>
2181
2099
  </td>
2182
- <td class="name"><code><p>Gets the maximum geometric error allowed in a tile at a given level.</p></code></td>
2100
+ <td class="name"><code><p>重写Cesium.TerrainProvider的getLevelMaximumGeometricError方法,
2101
+ 重写了该方法,则被认为是一个TerrainProvider
2102
+ 通过给定的级数计算最大几何误差,并返回</p></code></td>
2183
2103
  </tr>
2184
2104
 
2185
2105
  <tr class="deep-level-0">
@@ -2203,21 +2123,14 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2203
2123
  </tr>
2204
2124
 
2205
2125
  <tr class="deep-level-0">
2206
- <td class="name"><code><a href="#loadTileDataAvailability">loadTileDataAvailability</a></code></td>
2126
+ <td class="name"><code><a href="#requestTileGeometry">requestTileGeometry</a></code></td>
2207
2127
  <td class="name">
2208
2128
  <code>
2209
2129
 
2210
2130
 
2211
2131
  <span class="param-type">
2212
2132
 
2213
- undefined
2214
-
2215
- </span>
2216
- |
2217
-
2218
- <span class="param-type">
2219
-
2220
- Promise.&lt;void>
2133
+ Promise
2221
2134
 
2222
2135
  </span>
2223
2136
 
@@ -2226,7 +2139,9 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2226
2139
 
2227
2140
  </code>
2228
2141
  </td>
2229
- <td class="name"><code><p>Makes sure we load availability data for a tile</p></code></td>
2142
+ <td class="name"><code><p>重写Cesium.TerrainProvider的requestTileGeometry方法,
2143
+ 重写了该方法,则被认为是一个TerrainProvider
2144
+ 通过该方法请求地形瓦片数据</p></code></td>
2230
2145
  </tr>
2231
2146
 
2232
2147
  </tbody>
@@ -2450,7 +2365,7 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2450
2365
  <h5>示例</h5>
2451
2366
 
2452
2367
 
2453
- <pre class="prettyprint"><code>const url = 'http://webclient.smaryun.com:8089/igs/rest/services/Scene/TwTerrain/SceneServer'
2454
2368
  const imageryProvider = await MapGISTerrainProvider.fromUrl(url)
2455
2369
  if (terrainProvider) {
2456
2370
  viewer.terrainProvider = terrainProvider
2457
2371
  }
2372
+ <pre class="prettyprint"><code>const url = 'http://192.168.82.91:8089/igs/rest/services/Scene/TwTerrain/SceneServer'
2458
2373
  const imageryProvider = await MapGISTerrainProvider.fromUrl(url)
2459
2374
  if (terrainProvider) {
2460
2375
  viewer.terrainProvider = terrainProvider
2461
2376
  }
2462
2377
 
2463
2378
 
2464
2379
 
@@ -2473,7 +2388,9 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2473
2388
 
2474
2389
 
2475
2390
  <div class="description">
2476
- <p>Gets the maximum geometric error allowed in a tile at a given level.</p>
2391
+ <p>重写Cesium.TerrainProvider的getLevelMaximumGeometricError方法,
2392
+ 重写了该方法,则被认为是一个TerrainProvider
2393
+ 通过给定的级数计算最大几何误差,并返回</p>
2477
2394
  </div>
2478
2395
 
2479
2396
 
@@ -2528,7 +2445,7 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2528
2445
 
2529
2446
 
2530
2447
 
2531
- <td class="description last"><p>The tile level for which to get the maximum geometric error.</p></td>
2448
+ <td class="description last"><p>级数</p></td>
2532
2449
  </tr>
2533
2450
 
2534
2451
 
@@ -2602,7 +2519,7 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2602
2519
 
2603
2520
  <div class="columns">
2604
2521
 
2605
- <div class='param-desc column is-7'><p>The maximum geometric error.</p></div>
2522
+ <div class='param-desc column is-7'><p>最大几何误差</p></div>
2606
2523
 
2607
2524
 
2608
2525
  <div class='column is-5 has-text-left'>
@@ -2868,12 +2785,12 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2868
2785
 
2869
2786
 
2870
2787
 
2871
- <h4 class="name" id="loadTileDataAvailability">
2872
- <a class="href-link" href="#loadTileDataAvailability">#</a>
2788
+ <h4 class="name" id="requestTileGeometry">
2789
+ <a class="href-link" href="#requestTileGeometry">#</a>
2873
2790
 
2874
- <span class="code-name" id="loadTileDataAvailability" style="font-size:30px">
2791
+ <span class="code-name" id="requestTileGeometry" style="font-size:30px">
2875
2792
 
2876
- loadTileDataAvailability<span class="signature">(x, y, level)</span>
2793
+ requestTileGeometry<span class="signature">(x, y, level, request)</span>
2877
2794
 
2878
2795
  </span>
2879
2796
  </h4>
@@ -2881,7 +2798,9 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2881
2798
 
2882
2799
 
2883
2800
  <div class="description">
2884
- <p>Makes sure we load availability data for a tile</p>
2801
+ <p>重写Cesium.TerrainProvider的requestTileGeometry方法,
2802
+ 重写了该方法,则被认为是一个TerrainProvider
2803
+ 通过该方法请求地形瓦片数据</p>
2885
2804
  </div>
2886
2805
 
2887
2806
 
@@ -2936,7 +2855,7 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2936
2855
 
2937
2856
 
2938
2857
 
2939
- <td class="description last"><p>The X coordinate of the tile for which to request geometry.</p></td>
2858
+ <td class="description last"><p>行号</p></td>
2940
2859
  </tr>
2941
2860
 
2942
2861
 
@@ -2965,7 +2884,7 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2965
2884
 
2966
2885
 
2967
2886
 
2968
- <td class="description last"><p>The Y coordinate of the tile for which to request geometry.</p></td>
2887
+ <td class="description last"><p>列号</p></td>
2969
2888
  </tr>
2970
2889
 
2971
2890
 
@@ -2994,7 +2913,36 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
2994
2913
 
2995
2914
 
2996
2915
 
2997
- <td class="description last"><p>The level of the tile for which to request geometry.</p></td>
2916
+ <td class="description last"><p>级数</p></td>
2917
+ </tr>
2918
+
2919
+
2920
+
2921
+
2922
+
2923
+
2924
+ <tr class="deep-level-0">
2925
+
2926
+ <td class="name"><code>request</code></td>
2927
+
2928
+
2929
+ <td class="type">
2930
+
2931
+
2932
+ <span class="param-type">
2933
+
2934
+ Cesium.Request
2935
+
2936
+ </span>
2937
+
2938
+
2939
+
2940
+
2941
+ </td>
2942
+
2943
+
2944
+
2945
+ <td class="description last"><p>Cesium的请求相关对象</p></td>
2998
2946
  </tr>
2999
2947
 
3000
2948
 
@@ -3068,7 +3016,7 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
3068
3016
 
3069
3017
  <div class="columns">
3070
3018
 
3071
- <div class='param-desc column is-7'><p>Undefined if nothing need to be loaded or a Promise that resolves when all required tiles are loaded</p></div>
3019
+ <div class='param-desc column is-7'><p>请求完毕的回调</p></div>
3072
3020
 
3073
3021
 
3074
3022
  <div class='column is-5 has-text-left'>
@@ -3076,14 +3024,7 @@ not be called before <a class="mapgis-link-name" title="MapGISTerrainProvider#re
3076
3024
 
3077
3025
  <span class="param-type">
3078
3026
 
3079
- undefined
3080
-
3081
- </span>
3082
- |
3083
-
3084
- <span class="param-type">
3085
-
3086
- Promise.&lt;void>
3027
+ Promise
3087
3028
 
3088
3029
  </span>
3089
3030