@mapgis/webclient-cesium-plugin 17.2.2 → 17.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +17 -0
  2. package/dist/es5/webclient-cesium-plugin.min.js +3 -3
  3. package/dist/es5/webclient-common.min.js +3 -3
  4. package/dist/webclient-cesium-plugin-es6.min.js +3 -3
  5. package/documention/AlgorithmLib.html +7009 -0
  6. package/documention/AngulationTool.html +1068 -0
  7. package/documention/ArcGISMapServerImageryProvider.html +46 -3
  8. package/documention/ArcGISTileServerImageryProvider.html +43 -3
  9. package/documention/ArcGISVectorTileImageryProvider.html +6 -1
  10. package/documention/CesiumTerrainProvider.html +139 -0
  11. package/documention/CuttingTool.html +2910 -0
  12. package/documention/Deferred.html +139 -0
  13. package/documention/DrawElement.html +1643 -0
  14. package/documention/DrawTool.html +1275 -0
  15. package/documention/EditTool.html +1839 -0
  16. package/documention/FloodAnalysisReflection.html +1282 -0
  17. package/documention/Graphic.html +4789 -0
  18. package/documention/GraphicsLayer.html +5071 -0
  19. package/documention/MapGISTerrainProvider.html +16 -2
  20. package/documention/MapGISTileServerImageryProvider.html +39 -2
  21. package/documention/MeasureAreaTool.html +1182 -0
  22. package/documention/MeasureLengthTool.html +2306 -0
  23. package/documention/MeasureSlopeTool.html +1141 -0
  24. package/documention/ModelEditor.html +356 -0
  25. package/documention/PostProcessStageLibrary.html +1329 -0
  26. package/documention/Promise.html +980 -0
  27. package/documention/RiverGeometry.html +2659 -0
  28. package/documention/S3MTileset.html +34 -1
  29. package/documention/SelectTool.html +784 -0
  30. package/documention/ShadowRateAnalysis.html +1827 -0
  31. package/documention/ShadowRateDrawCommand.html +917 -0
  32. package/documention/Style.html +14203 -0
  33. package/documention/Tooltip.html +877 -0
  34. package/documention/TriangulationTool.html +1721 -0
  35. package/documention/VisiblityAnalysis.html +1998 -0
  36. package/documention/WaterReflection.html +1476 -0
  37. package/documention/WebMapServiceImageryProvider.html +45 -3
  38. package/documention/WebMapTileServiceImageryProvider.html +45 -3
  39. package/package.json +1 -1
@@ -0,0 +1,1141 @@
1
+ <header id="page-title" class="page-title">
2
+
3
+ <span class="page-title-main">类名</span>
4
+ <span class="page-title-sub">MeasureSlopeTool</span>
5
+
6
+ </header>
7
+
8
+
9
+
10
+
11
+
12
+ <section>
13
+
14
+ <article>
15
+ <div class="container-overview">
16
+
17
+
18
+ <div class='vertical-section'>
19
+ <div class="members">
20
+ <div class="member">
21
+
22
+
23
+
24
+
25
+ <h4 class="name" id="MeasureSlopeTool">
26
+ <a class="href-link" href="#MeasureSlopeTool">#</a>
27
+
28
+ <span class="code-name" id="MeasureSlopeTool" style="font-size:30px">
29
+
30
+ new MeasureSlopeTool<span class="signature">(viewer, options)</span>
31
+
32
+ </span>
33
+ </h4>
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <h4>参数</h4>
47
+
48
+ <div class="table-container">
49
+ <table class="params table">
50
+ <thead>
51
+ <tr>
52
+
53
+ <th>名称</th>
54
+
55
+
56
+ <th>类型</th>
57
+
58
+
59
+ <th style="min-width: 100px;">默认值</th>
60
+
61
+
62
+ <th class="last">描述</th>
63
+ </tr>
64
+ </thead>
65
+
66
+ <tbody>
67
+
68
+
69
+
70
+ <tr class="deep-level-0">
71
+
72
+ <td class="name"><code>viewer</code></td>
73
+
74
+
75
+ <td class="type">
76
+
77
+
78
+ <span class="param-type">
79
+
80
+ Object
81
+
82
+ </span>
83
+
84
+
85
+
86
+
87
+ </td>
88
+
89
+
90
+ <td class="default">
91
+
92
+ </td>
93
+
94
+
95
+ <td class="description last"><p>视图</p></td>
96
+ </tr>
97
+
98
+
99
+
100
+
101
+
102
+
103
+ <tr class="deep-level-0">
104
+
105
+ <td class="name"><code>options</code></td>
106
+
107
+
108
+ <td class="type">
109
+
110
+
111
+ <span class="param-type">
112
+
113
+ Object
114
+
115
+ </span>
116
+
117
+
118
+
119
+
120
+ </td>
121
+
122
+
123
+ <td class="default">
124
+
125
+ </td>
126
+
127
+
128
+ <td class="description last"><p>包含以下属性的对象</p></td>
129
+ </tr>
130
+
131
+
132
+
133
+
134
+ <tr class="deep-level-1">
135
+
136
+ <td class="name"><code>callBack</code></td>
137
+
138
+
139
+ <td class="type">
140
+
141
+
142
+ <span class="param-type">
143
+
144
+ Boolean
145
+
146
+ </span>
147
+
148
+
149
+
150
+
151
+ </td>
152
+
153
+
154
+ <td class="default">
155
+
156
+ function(result, positions){}
157
+
158
+ </td>
159
+
160
+
161
+ <td class="description last"><p>回调函数</p></td>
162
+ </tr>
163
+
164
+
165
+
166
+
167
+ <tr class="deep-level-1">
168
+
169
+ <td class="name"><code>labelCallBack</code></td>
170
+
171
+
172
+ <td class="type">
173
+
174
+
175
+ <span class="param-type">
176
+
177
+ Boolean
178
+
179
+ </span>
180
+
181
+
182
+
183
+
184
+ </td>
185
+
186
+
187
+ <td class="default">
188
+
189
+ function(result, label){}
190
+
191
+ </td>
192
+
193
+
194
+ <td class="description last"><p>测量完毕后提示框的回调函数,可以覆盖提示内容</p></td>
195
+ </tr>
196
+
197
+
198
+
199
+
200
+ <tr class="deep-level-1">
201
+
202
+ <td class="name"><code>disableDepthTestDistance</code></td>
203
+
204
+
205
+ <td class="type">
206
+
207
+
208
+ <span class="param-type">
209
+
210
+ Number
211
+
212
+ </span>
213
+
214
+
215
+
216
+
217
+ </td>
218
+
219
+
220
+ <td class="default">
221
+
222
+ Number.POSITIVE_INFINITY
223
+
224
+ </td>
225
+
226
+
227
+ <td class="description last"><p>只要小于这个距离深度检测就会失效,就会一直显示在最前面 不会被遮挡</p></td>
228
+ </tr>
229
+
230
+
231
+
232
+
233
+ <tr class="deep-level-1">
234
+
235
+ <td class="name"><code>lineColor</code></td>
236
+
237
+
238
+ <td class="type">
239
+
240
+
241
+ <span class="param-type">
242
+
243
+ Cesium.Color
244
+
245
+ </span>
246
+
247
+
248
+
249
+
250
+ </td>
251
+
252
+
253
+ <td class="default">
254
+
255
+ </td>
256
+
257
+
258
+ <td class="description last"><p>线段颜色</p></td>
259
+ </tr>
260
+
261
+
262
+
263
+
264
+ <tr class="deep-level-1">
265
+
266
+ <td class="name"><code>pointColor</code></td>
267
+
268
+
269
+ <td class="type">
270
+
271
+
272
+ <span class="param-type">
273
+
274
+ Cesium.Color
275
+
276
+ </span>
277
+
278
+
279
+
280
+
281
+ </td>
282
+
283
+
284
+ <td class="default">
285
+
286
+ </td>
287
+
288
+
289
+ <td class="description last"><p>点颜色</p></td>
290
+ </tr>
291
+
292
+
293
+
294
+
295
+ <tr class="deep-level-1">
296
+
297
+ <td class="name"><code>style</code></td>
298
+
299
+
300
+ <td class="type">
301
+
302
+
303
+ <span class="param-type">
304
+
305
+ Cesium.LabelStyle
306
+
307
+ </span>
308
+
309
+
310
+
311
+
312
+ </td>
313
+
314
+
315
+ <td class="default">
316
+
317
+ Cesium.LabelStyle.FILL
318
+
319
+ </td>
320
+
321
+
322
+ <td class="description last"><p>label 文字的样式,支持填充、线框。填充和线框, FILL, OUTLINE, FILL_AND_OUTLINE</p></td>
323
+ </tr>
324
+
325
+
326
+
327
+
328
+ <tr class="deep-level-1">
329
+
330
+ <td class="name"><code>font</code></td>
331
+
332
+
333
+ <td class="type">
334
+
335
+
336
+ <span class="param-type">
337
+
338
+ String
339
+
340
+ </span>
341
+
342
+
343
+
344
+
345
+ </td>
346
+
347
+
348
+ <td class="default">
349
+
350
+ '12pt 楷体'
351
+
352
+ </td>
353
+
354
+
355
+ <td class="description last"><p>label 的字体以及大小 @see <a class="mapgis-link-name" title="https://html.spec.whatwg.org/multipage/canvas.html#text-styles" https://html.spec.whatwg.org/multipage/canvas.html#text-styles>https://html.spec.whatwg.org/multipage/canvas.html#text-styles</a></p></td>
356
+ </tr>
357
+
358
+
359
+
360
+
361
+ <tr class="deep-level-1">
362
+
363
+ <td class="name"><code>fillColor</code></td>
364
+
365
+
366
+ <td class="type">
367
+
368
+
369
+ <span class="param-type">
370
+
371
+ Cesium.Color
372
+
373
+ </span>
374
+
375
+
376
+
377
+
378
+ </td>
379
+
380
+
381
+ <td class="default">
382
+
383
+ Cesium.Color.WHITE
384
+
385
+ </td>
386
+
387
+
388
+ <td class="description last"><p>label 的字体颜色</p></td>
389
+ </tr>
390
+
391
+
392
+
393
+
394
+ <tr class="deep-level-1">
395
+
396
+ <td class="name"><code>outlineColor</code></td>
397
+
398
+
399
+ <td class="type">
400
+
401
+
402
+ <span class="param-type">
403
+
404
+ Cesium.Color
405
+
406
+ </span>
407
+
408
+
409
+
410
+
411
+ </td>
412
+
413
+
414
+ <td class="default">
415
+
416
+ Cesium.Color.WHITE
417
+
418
+ </td>
419
+
420
+
421
+ <td class="description last"><p>label 文字线框的颜色</p></td>
422
+ </tr>
423
+
424
+
425
+
426
+
427
+ <tr class="deep-level-1">
428
+
429
+ <td class="name"><code>outlineWidth</code></td>
430
+
431
+
432
+ <td class="type">
433
+
434
+
435
+ <span class="param-type">
436
+
437
+ Number
438
+
439
+ </span>
440
+
441
+
442
+
443
+
444
+ </td>
445
+
446
+
447
+ <td class="default">
448
+
449
+ 4.0
450
+
451
+ </td>
452
+
453
+
454
+ <td class="description last"><p>label 的外轮廓边线</p></td>
455
+ </tr>
456
+
457
+
458
+
459
+
460
+ <tr class="deep-level-1">
461
+
462
+ <td class="name"><code>verticalOrigin</code></td>
463
+
464
+
465
+ <td class="type">
466
+
467
+
468
+ <span class="param-type">
469
+
470
+ Cesium.VerticalOrigin
471
+
472
+ </span>
473
+
474
+
475
+
476
+
477
+ </td>
478
+
479
+
480
+ <td class="default">
481
+
482
+ Cesium.VerticalOrigin.BOTTOM
483
+
484
+ </td>
485
+
486
+
487
+ <td class="description last"><p>label 的摆放位置</p></td>
488
+ </tr>
489
+
490
+
491
+
492
+
493
+ <tr class="deep-level-1">
494
+
495
+ <td class="name"><code>showBackground</code></td>
496
+
497
+
498
+ <td class="type">
499
+
500
+
501
+ <span class="param-type">
502
+
503
+ Boolean
504
+
505
+ </span>
506
+
507
+
508
+
509
+
510
+ </td>
511
+
512
+
513
+ <td class="default">
514
+
515
+ true
516
+
517
+ </td>
518
+
519
+
520
+ <td class="description last"><p>是否显示 label 的背景</p></td>
521
+ </tr>
522
+
523
+
524
+
525
+
526
+ <tr class="deep-level-1">
527
+
528
+ <td class="name"><code>backgroundColor</code></td>
529
+
530
+
531
+ <td class="type">
532
+
533
+
534
+ <span class="param-type">
535
+
536
+ Cesium.Color
537
+
538
+ </span>
539
+
540
+
541
+
542
+
543
+ </td>
544
+
545
+
546
+ <td class="default">
547
+
548
+ new Cesium.Color(0, 0, 0, 0.4)
549
+
550
+ </td>
551
+
552
+
553
+ <td class="description last"><p>lable 背景的颜色</p></td>
554
+ </tr>
555
+
556
+
557
+
558
+
559
+ <tr class="deep-level-1">
560
+
561
+ <td class="name"><code>pixelOffset</code></td>
562
+
563
+
564
+ <td class="type">
565
+
566
+
567
+ <span class="param-type">
568
+
569
+ Cesium.Cartesian2
570
+
571
+ </span>
572
+
573
+
574
+
575
+
576
+ </td>
577
+
578
+
579
+ <td class="default">
580
+
581
+ new Cesium.Cartesian2(0, -4)
582
+
583
+ </td>
584
+
585
+
586
+ <td class="description last"><p>label 相对于设定点的偏移位置</p></td>
587
+ </tr>
588
+
589
+
590
+
591
+
592
+
593
+
594
+
595
+ </tbody>
596
+ </table>
597
+ </div>
598
+
599
+
600
+
601
+
602
+
603
+
604
+ <dl class="details">
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+ <dt class="tag-author">作者:</dt>
624
+ <dd class="tag-author">
625
+ <ul>
626
+ <li>韩彦生</li>
627
+ </ul>
628
+ </dd>
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+ </dl>
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+
667
+ <h5>示例</h5>
668
+
669
+
670
+ <pre class="prettyprint"><code>function callBack(arg){
671
+ }
672
+ var MeasureSlopeTool = new Cesium.MeasureSlopeTool(viewer,{callBack:callBack});
673
+ MeasureSlopeTool.startTool(); //开始测量
674
+ //MeasureSlopeTool.stopTool(); //结束测量</code></pre>
675
+
676
+
677
+
678
+
679
+ </div>
680
+ </div>
681
+ </div>
682
+
683
+
684
+ </div>
685
+
686
+
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+ <div class='vertical-section'>
700
+ <h3 id='member'>成员变量</h3>
701
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
702
+ <div class="table-container">
703
+ <table class="params table">
704
+ <thead>
705
+ <tr>
706
+ <th>名称</th>
707
+ <th>类型</th>
708
+ <th>描述</th>
709
+ </tr>
710
+ </thead>
711
+ <tbody>
712
+
713
+ <tr class="deep-level-0">
714
+ <td class="name"><code><a href="#angle">angle</a></code></td>
715
+ <td class="name">
716
+ <code>
717
+
718
+ <span class="param-type">
719
+
720
+ Number
721
+
722
+ </span>
723
+
724
+
725
+
726
+ </code>
727
+ </td>
728
+ <td class="name"><code><p>坡度值</p></code></td>
729
+ </tr>
730
+
731
+ <tr class="deep-level-0">
732
+ <td class="name"><code><a href="#rightClickReBegin">rightClickReBegin</a></code></td>
733
+ <td class="name">
734
+ <code>
735
+
736
+ <span class="param-type">
737
+
738
+ Boolean
739
+
740
+ </span>
741
+
742
+
743
+
744
+ </code>
745
+ </td>
746
+ <td class="name"><code><p>右键是否继续重新</p></code></td>
747
+ </tr>
748
+
749
+ </tbody>
750
+ </table>
751
+ </div>
752
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
753
+ <div class="members">
754
+
755
+ <div class="member">
756
+
757
+ <span class="method-parameter is-pulled-right">
758
+ <label>类型:</label>
759
+
760
+ <span class="param-type">
761
+
762
+ Number
763
+
764
+ </span>
765
+
766
+
767
+
768
+ </span>
769
+
770
+ <h4 class="name" id="angle">
771
+ <a class="href-link" href="#angle">#</a>
772
+
773
+ <span class="code-name">
774
+ angle
775
+ </span>
776
+
777
+ </h4>
778
+
779
+
780
+
781
+
782
+ <div class="description">
783
+ <p>坡度值</p>
784
+ </div>
785
+
786
+
787
+
788
+
789
+
790
+ <dl class="details">
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
+
817
+
818
+
819
+
820
+
821
+
822
+ </dl>
823
+
824
+
825
+
826
+
827
+
828
+ </div>
829
+
830
+ <div class="member">
831
+
832
+ <span class="method-parameter is-pulled-right">
833
+ <label>类型:</label>
834
+
835
+ <span class="param-type">
836
+
837
+ Boolean
838
+
839
+ </span>
840
+
841
+
842
+
843
+ </span>
844
+
845
+ <h4 class="name" id="rightClickReBegin">
846
+ <a class="href-link" href="#rightClickReBegin">#</a>
847
+
848
+ <span class="code-name">
849
+ rightClickReBegin
850
+ </span>
851
+
852
+ </h4>
853
+
854
+
855
+
856
+
857
+ <div class="description">
858
+ <p>右键是否继续重新</p>
859
+ </div>
860
+
861
+
862
+
863
+
864
+
865
+ <dl class="details">
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
+
893
+
894
+
895
+
896
+
897
+ </dl>
898
+
899
+
900
+
901
+
902
+
903
+ </div>
904
+
905
+ </div>
906
+ </div>
907
+
908
+
909
+
910
+ <div class='vertical-section'>
911
+ <h3 id='function'>方法</h3>
912
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
913
+ <div class="members">
914
+ <div class="table-container">
915
+ <table class="params table">
916
+ <thead>
917
+ <tr>
918
+ <th>名称</th>
919
+ <th>返回值类型</th>
920
+ <th>描述</th>
921
+ </tr>
922
+ </thead>
923
+ <tbody>
924
+
925
+ <tr class="deep-level-0">
926
+ <td class="name"><code><a href="#startTool">startTool</a></code></td>
927
+ <td class="name">
928
+ <code>
929
+
930
+ </code>
931
+ </td>
932
+ <td class="name"><code><p>开始测量</p></code></td>
933
+ </tr>
934
+
935
+ <tr class="deep-level-0">
936
+ <td class="name"><code><a href="#stopTool">stopTool</a></code></td>
937
+ <td class="name">
938
+ <code>
939
+
940
+ </code>
941
+ </td>
942
+ <td class="name"><code><p>结束测量</p></code></td>
943
+ </tr>
944
+
945
+ </tbody>
946
+ </table>
947
+ </div>
948
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
949
+
950
+ <div class="member">
951
+
952
+
953
+
954
+ <h4 class="name" id="startTool">
955
+ <a class="href-link" href="#startTool">#</a>
956
+
957
+ <span class="code-name" id="startTool" style="font-size:30px">
958
+
959
+ startTool<span class="signature">()</span>
960
+
961
+ </span>
962
+ </h4>
963
+
964
+
965
+
966
+ <div class="description">
967
+ <p>开始测量</p>
968
+ </div>
969
+
970
+
971
+
972
+
973
+
974
+
975
+
976
+
977
+
978
+
979
+
980
+
981
+
982
+
983
+ <dl class="details">
984
+
985
+
986
+
987
+
988
+
989
+
990
+
991
+
992
+
993
+
994
+
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+
1015
+ </dl>
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+ </div>
1040
+
1041
+ <div class="member">
1042
+
1043
+
1044
+
1045
+ <h4 class="name" id="stopTool">
1046
+ <a class="href-link" href="#stopTool">#</a>
1047
+
1048
+ <span class="code-name" id="stopTool" style="font-size:30px">
1049
+
1050
+ stopTool<span class="signature">()</span>
1051
+
1052
+ </span>
1053
+ </h4>
1054
+
1055
+
1056
+
1057
+ <div class="description">
1058
+ <p>结束测量</p>
1059
+ </div>
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+ <dl class="details">
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+ </dl>
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+
1114
+
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+ </div>
1131
+
1132
+ </div>
1133
+ </div>
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+ </article>
1140
+
1141
+ </section>