@anov/gis 1.2.9-beta.1 → 1.3.0-beta.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.
Files changed (90) hide show
  1. package/dist/index.css +4 -2699
  2. package/dist/index.js +58 -730
  3. package/package.json +1 -1
  4. package/dist/Documentation/AmapImageryProvider.html +0 -198
  5. package/dist/Documentation/BaiduImageryProvider.html +0 -353
  6. package/dist/Documentation/Billboard.html +0 -1477
  7. package/dist/Documentation/CesiumHeatMap.html +0 -559
  8. package/dist/Documentation/CesiumMeasureUtil.html +0 -1907
  9. package/dist/Documentation/CesiumView.html +0 -808
  10. package/dist/Documentation/DomUtil.html +0 -2513
  11. package/dist/Documentation/DrawBase.html +0 -1250
  12. package/dist/Documentation/DrawCircle.html +0 -852
  13. package/dist/Documentation/DrawPoint.html +0 -720
  14. package/dist/Documentation/DrawPolyLine.html +0 -963
  15. package/dist/Documentation/DrawPolygon.html +0 -852
  16. package/dist/Documentation/DrawRectangle.html +0 -720
  17. package/dist/Documentation/FeatureInfoUtil.html +0 -324
  18. package/dist/Documentation/GeoJsonLayer.html +0 -640
  19. package/dist/Documentation/GoogleImageryProvider.html +0 -198
  20. package/dist/Documentation/Graphic.html +0 -1761
  21. package/dist/Documentation/ImageryLayerFactory.html +0 -2431
  22. package/dist/Documentation/Label.html +0 -1458
  23. package/dist/Documentation/LayerControlUitl.html +0 -364
  24. package/dist/Documentation/LocateUtil.html +0 -1303
  25. package/dist/Documentation/MapInfo.html +0 -237
  26. package/dist/Documentation/MouseEvent.html +0 -187
  27. package/dist/Documentation/PlotUtil.html +0 -3627
  28. package/dist/Documentation/PoiSearch.html +0 -260
  29. package/dist/Documentation/Point.html +0 -2304
  30. package/dist/Documentation/Polyline.html +0 -1743
  31. package/dist/Documentation/Position.html +0 -1676
  32. package/dist/Documentation/PrimitiveLayer.html +0 -277
  33. package/dist/Documentation/SplitImageLayer.html +0 -552
  34. package/dist/Documentation/TdtImageryProvider.html +0 -198
  35. package/dist/Documentation/TencentImageryProvider.html +0 -198
  36. package/dist/Documentation/ThreeCoordTransform.html +0 -1327
  37. package/dist/Documentation/TilesetLayer.html +0 -277
  38. package/dist/Documentation/Transform.html +0 -1831
  39. package/dist/Documentation/TranslateLocal.html +0 -434
  40. package/dist/Documentation/Util.html +0 -1653
  41. package/dist/Documentation/VectorLayer.html +0 -2214
  42. package/dist/Documentation/Viewer.html +0 -5537
  43. package/dist/Documentation/WktUtil.html +0 -693
  44. package/dist/Documentation/fonts/SourceSansPro.woff +0 -0
  45. package/dist/Documentation/global.html +0 -1586
  46. package/dist/Documentation/global.html#FlyEventType +0 -154
  47. package/dist/Documentation/global.html#GraphicEventType +0 -154
  48. package/dist/Documentation/global.html#ImageryType +0 -1476
  49. package/dist/Documentation/global.html#LayerEventType +0 -154
  50. package/dist/Documentation/global.html#SceneEventType +0 -154
  51. package/dist/Documentation/global.html#WidgetEventType +0 -154
  52. package/dist/Documentation/global.html#getCurveByTwoPoints +0 -154
  53. package/dist/Documentation/global.html#noAuto +0 -154
  54. package/dist/Documentation/global.html#pause +0 -154
  55. package/dist/Documentation/global.html#resetParas +0 -154
  56. package/dist/Documentation/global.html#start +0 -154
  57. package/dist/Documentation/global.html#stop +0 -154
  58. package/dist/Documentation/icons/home.png +0 -0
  59. package/dist/Documentation/icons/link.png +0 -0
  60. package/dist/Documentation/icons/popout.png +0 -0
  61. package/dist/Documentation/images/CesiumLogo.png +0 -0
  62. package/dist/Documentation/images/bingAerial.png +0 -0
  63. package/dist/Documentation/images/bingAerialLabels.png +0 -0
  64. package/dist/Documentation/images/bingRoads.png +0 -0
  65. package/dist/Documentation/images/blueblack.png +0 -0
  66. package/dist/Documentation/images/circle_blue.png +0 -0
  67. package/dist/Documentation/images/circle_red.png +0 -0
  68. package/dist/Documentation/images/circle_yellow.png +0 -0
  69. package/dist/Documentation/images/cloud.jpg +0 -0
  70. package/dist/Documentation/images/esriWorldImagery.png +0 -0
  71. package/dist/Documentation/images/fence.png +0 -0
  72. package/dist/Documentation/images/gaode_img.png +0 -0
  73. package/dist/Documentation/images/gnjg.png +0 -0
  74. package/dist/Documentation/images/google_vec.png +0 -0
  75. package/dist/Documentation/images/lighting.png +0 -0
  76. package/dist/Documentation/images/linegradient.png +0 -0
  77. package/dist/Documentation/images/space_line.png +0 -0
  78. package/dist/Documentation/images/tdt_ter.png +0 -0
  79. package/dist/Documentation/images/tdt_vec.png +0 -0
  80. package/dist/Documentation/images/wallflow.png +0 -0
  81. package/dist/Documentation/images/wallgradient.png +0 -0
  82. package/dist/Documentation/images/water/waterNormals.jpg +0 -0
  83. package/dist/Documentation/images/water/waterNormalsSmall.jpg +0 -0
  84. package/dist/Documentation/index.html +0 -73
  85. package/dist/Documentation/javascript/cesiumDoc.js +0 -64
  86. package/dist/Documentation/javascript/html5.js +0 -115
  87. package/dist/Documentation/javascript/prism.js +0 -325
  88. package/dist/Documentation/styles/jsdoc-default.css +0 -670
  89. package/dist/Documentation/styles/prism.css +0 -128
  90. package/dist/Documentation/types.txt +0 -1
@@ -1,1303 +0,0 @@
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>LocateUtil - 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
- LocateUtil
22
- <div class="titleCenterer"></div>
23
- </h1>
24
-
25
-
26
-
27
-
28
-
29
-
30
- <section>
31
-
32
- <header>
33
-
34
- </header>
35
-
36
- <article>
37
- <div class="container-overview">
38
-
39
-
40
-
41
-
42
- <div class="nameContainer">
43
- <h4 class="name" id="LocateUtil">
44
- <a href="#LocateUtil" class="doc-link"></a>
45
- new ANOVGIS.LocateUtil<span class="signature">()</span>
46
-
47
-
48
- <div class="source-link rightLinks" style="display:none">
49
- <a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/LocateUtil.js#L8">base/utils/LocateUtil.js 8</a>
50
- </div>
51
-
52
-
53
- </h4>
54
-
55
- </div>
56
-
57
-
58
-
59
-
60
- <div class="description">
61
- 空间定位
62
- </div>
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
- <dl class="details">
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
-
117
-
118
- </dl>
119
-
120
-
121
-
122
- </div>
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
- <h3 class="subsection-title">Methods</h3>
138
-
139
-
140
-
141
- <div class="nameContainer">
142
- <h4 class="name" id=".flyToPosition">
143
- <a href="#.flyToPosition" class="doc-link"></a>
144
- <span class="type-signature attribute-static">static</span> ANOVGIS.LocateUtil.flyToPosition<span class="signature">(destination, <span class="optional">heading</span>, <span class="optional">pitch</span>, <span class="optional">range</span>, <span class="optional">duration</span>, <span class="optional">completeCallback</span>)</span>
145
-
146
-
147
- <div class="source-link rightLinks" style="display:none">
148
- <a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/LocateUtil.js#L95">base/utils/LocateUtil.js 95</a>
149
- </div>
150
-
151
-
152
- </h4>
153
-
154
- </div>
155
-
156
-
157
-
158
-
159
- <div class="description">
160
- 飞行定位到一个坐标点位置(推荐用这个,因为方便,传入坐标格式灵活)
161
- </div>
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
- <table class="params">
176
- <thead>
177
- <tr>
178
-
179
- <th>Name</th>
180
-
181
-
182
- <th>Type</th>
183
-
184
-
185
- <th>Default</th>
186
-
187
-
188
- <th class="last">Description</th>
189
- </tr>
190
- </thead>
191
-
192
- <tbody>
193
-
194
-
195
- <tr>
196
-
197
- <td class="name"><code>destination</code></td>
198
-
199
-
200
- <td class="type">
201
-
202
-
203
- <span class="param-type">Object</span>
204
-
205
-
206
-
207
- </td>
208
-
209
-
210
- <td class="default">
211
-
212
- </td>
213
-
214
-
215
- <td class="description last">
216
-
217
-
218
-
219
-
220
-
221
-
222
- 目标点坐标,格式可以是
223
- </tr>
224
-
225
-
226
-
227
- <tr>
228
-
229
- <td class="name"><code>heading</code></td>
230
-
231
-
232
- <td class="type">
233
-
234
-
235
- <span class="param-type">Number</span>
236
-
237
-
238
-
239
- </td>
240
-
241
-
242
- <td class="default">
243
-
244
- <code class="language-javascript">0.0</code>
245
-
246
- </td>
247
-
248
-
249
- <td class="description last">
250
-
251
-
252
- <span class="optional">optional</span>
253
-
254
-
255
-
256
-
257
-
258
- The heading angle in radians. 偏航角 正北,由正北向东偏向为正</td>
259
- </tr>
260
-
261
-
262
-
263
- <tr>
264
-
265
- <td class="name"><code>pitch</code></td>
266
-
267
-
268
- <td class="type">
269
-
270
-
271
- <span class="param-type">Number</span>
272
-
273
-
274
-
275
- </td>
276
-
277
-
278
- <td class="default">
279
-
280
- <code class="language-javascript">0.0</code>
281
-
282
- </td>
283
-
284
-
285
- <td class="description last">
286
-
287
-
288
- <span class="optional">optional</span>
289
-
290
-
291
-
292
-
293
-
294
- The pitch angle in radians. 俯仰角 =-90 ENU局部坐标系,XY平面的旋转角度,平面下为负,上为正,</td>
295
- </tr>
296
-
297
-
298
-
299
- <tr>
300
-
301
- <td class="name"><code>range</code></td>
302
-
303
-
304
- <td class="type">
305
-
306
-
307
- <span class="param-type">Number</span>
308
-
309
-
310
-
311
- </td>
312
-
313
-
314
- <td class="default">
315
-
316
- <code class="language-javascript">0.0</code>
317
-
318
- </td>
319
-
320
-
321
- <td class="description last">
322
-
323
-
324
- <span class="optional">optional</span>
325
-
326
-
327
-
328
-
329
-
330
- The distance from the center in meters. 距目标点的距离</td>
331
- </tr>
332
-
333
-
334
-
335
- <tr>
336
-
337
- <td class="name"><code>duration</code></td>
338
-
339
-
340
- <td class="type">
341
-
342
-
343
- <span class="param-type">*</span>
344
-
345
-
346
-
347
- </td>
348
-
349
-
350
- <td class="default">
351
-
352
- <code class="language-javascript">3</code>
353
-
354
- </td>
355
-
356
-
357
- <td class="description last">
358
-
359
-
360
- <span class="optional">optional</span>
361
-
362
-
363
-
364
-
365
-
366
- 持续时间</td>
367
- </tr>
368
-
369
-
370
-
371
- <tr>
372
-
373
- <td class="name"><code>completeCallback</code></td>
374
-
375
-
376
- <td class="type">
377
-
378
-
379
- <span class="param-type">*</span>
380
-
381
-
382
-
383
- </td>
384
-
385
-
386
- <td class="default">
387
-
388
- <code class="language-javascript">null</code>
389
-
390
- </td>
391
-
392
-
393
- <td class="description last">
394
-
395
-
396
- <span class="optional">optional</span>
397
-
398
-
399
-
400
-
401
-
402
- 回调函数,定位完成后执行</td>
403
- </tr>
404
-
405
-
406
- </tbody>
407
- </table>
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
-
421
-
422
-
423
- <dl class="details">
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
-
441
-
442
-
443
- <h5>Example:</h5>
444
-
445
- <pre><code class="language-javascript">let layer = new ANOVGIS.VectorLayer();
446
- layer.addTo(viewer);
447
- let pointGraphic = new ANOVGIS.Point('117,39', {
448
- pixelSize: 12,
449
- });
450
- layer.addGraphic(pointGraphic);
451
- ANOVGIS.LocateUtil.flyToPositions(viewer, '117,39', 260, -20, 5000, 3, null);</code></pre>
452
-
453
-
454
-
455
-
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
- </dl>
465
-
466
-
467
-
468
-
469
- <div class="nameContainer">
470
- <h4 class="name" id=".flyToPositions">
471
- <a href="#.flyToPositions" class="doc-link"></a>
472
- <span class="type-signature attribute-static">static</span> ANOVGIS.LocateUtil.flyToPositions<span class="signature">(_viewer, positions, <span class="optional">heading</span>, <span class="optional">pitch</span>, <span class="optional">scale</span>, duration, callBack)</span>
473
-
474
-
475
- <div class="source-link rightLinks" style="display:none">
476
- <a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/LocateUtil.js#L266">base/utils/LocateUtil.js 266</a>
477
- </div>
478
-
479
-
480
- </h4>
481
-
482
- </div>
483
-
484
-
485
-
486
-
487
- <div class="description">
488
- 飞行定位到一个坐标数组
489
- </div>
490
-
491
-
492
-
493
-
494
-
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
-
503
- <table class="params">
504
- <thead>
505
- <tr>
506
-
507
- <th>Name</th>
508
-
509
-
510
- <th>Type</th>
511
-
512
-
513
- <th>Default</th>
514
-
515
-
516
- <th class="last">Description</th>
517
- </tr>
518
- </thead>
519
-
520
- <tbody>
521
-
522
-
523
- <tr>
524
-
525
- <td class="name"><code>_viewer</code></td>
526
-
527
-
528
- <td class="type">
529
-
530
-
531
- <span class="param-type">Object</span>
532
-
533
-
534
-
535
- </td>
536
-
537
-
538
- <td class="default">
539
-
540
- </td>
541
-
542
-
543
- <td class="description last">
544
-
545
-
546
-
547
-
548
-
549
-
550
- 三维球</td>
551
- </tr>
552
-
553
-
554
-
555
- <tr>
556
-
557
- <td class="name"><code>positions</code></td>
558
-
559
-
560
- <td class="type">
561
-
562
-
563
- <span class="param-type">String</span>
564
- |
565
-
566
- <span class="param-type">Array.&lt;(String|<a href="Position.html">Position</a>|Cesium.Cartesian3|Object)></span>
567
-
568
-
569
-
570
- </td>
571
-
572
-
573
- <td class="default">
574
-
575
- </td>
576
-
577
-
578
- <td class="description last">
579
-
580
-
581
-
582
-
583
-
584
-
585
- 坐标数组,格式可以是:
586
- </tr>
587
-
588
-
589
-
590
- <tr>
591
-
592
- <td class="name"><code>heading</code></td>
593
-
594
-
595
- <td class="type">
596
-
597
-
598
- <span class="param-type">Number</span>
599
-
600
-
601
-
602
- </td>
603
-
604
-
605
- <td class="default">
606
-
607
- <code class="language-javascript">0.0</code>
608
-
609
- </td>
610
-
611
-
612
- <td class="description last">
613
-
614
-
615
- <span class="optional">optional</span>
616
-
617
-
618
-
619
-
620
-
621
- The heading angle in radians. 偏航角 正北,由正北向东偏向为正</td>
622
- </tr>
623
-
624
-
625
-
626
- <tr>
627
-
628
- <td class="name"><code>pitch</code></td>
629
-
630
-
631
- <td class="type">
632
-
633
-
634
- <span class="param-type">Number</span>
635
-
636
-
637
-
638
- </td>
639
-
640
-
641
- <td class="default">
642
-
643
- <code class="language-javascript">-60</code>
644
-
645
- </td>
646
-
647
-
648
- <td class="description last">
649
-
650
-
651
- <span class="optional">optional</span>
652
-
653
-
654
-
655
-
656
-
657
- The pitch angle in radians. 俯仰角 =-90 ENU局部坐标系,XY平面的旋转角度,平面下为负,上为正,</td>
658
- </tr>
659
-
660
-
661
-
662
- <tr>
663
-
664
- <td class="name"><code>scale</code></td>
665
-
666
-
667
- <td class="type">
668
-
669
-
670
- <span class="param-type">Number</span>
671
-
672
-
673
-
674
- </td>
675
-
676
-
677
- <td class="default">
678
-
679
- <code class="language-javascript">1.0</code>
680
-
681
- </td>
682
-
683
-
684
- <td class="description last">
685
-
686
-
687
- <span class="optional">optional</span>
688
-
689
-
690
-
691
-
692
-
693
- 范围比例</td>
694
- </tr>
695
-
696
-
697
-
698
- <tr>
699
-
700
- <td class="name"><code>duration</code></td>
701
-
702
-
703
- <td class="type">
704
-
705
-
706
- <span class="param-type">*</span>
707
-
708
-
709
-
710
- </td>
711
-
712
-
713
- <td class="default">
714
-
715
- </td>
716
-
717
-
718
- <td class="description last">
719
-
720
-
721
-
722
-
723
-
724
-
725
- =3 持续时间</td>
726
- </tr>
727
-
728
-
729
-
730
- <tr>
731
-
732
- <td class="name"><code>callBack</code></td>
733
-
734
-
735
- <td class="type">
736
-
737
-
738
- <span class="param-type">*</span>
739
-
740
-
741
-
742
- </td>
743
-
744
-
745
- <td class="default">
746
-
747
- </td>
748
-
749
-
750
- <td class="description last">
751
-
752
-
753
-
754
-
755
-
756
-
757
- =null 回调函数,定位完成后执行</td>
758
- </tr>
759
-
760
-
761
- </tbody>
762
- </table>
763
-
764
-
765
-
766
-
767
-
768
-
769
-
770
-
771
-
772
-
773
-
774
-
775
-
776
-
777
-
778
- <dl class="details">
779
-
780
-
781
-
782
-
783
-
784
-
785
-
786
-
787
-
788
-
789
-
790
-
791
-
792
-
793
-
794
-
795
-
796
-
797
-
798
- <h5>Example:</h5>
799
-
800
- <pre><code class="language-javascript">let positions = [
801
- '117,39',
802
- '117.5,39.5',
803
- '118,39'
804
- ];
805
- let layer = new ANOVGIS.VectorLayer();
806
- layer.addTo(viewer);
807
- let pointGraphic = new ANOVGIS.Point(positions[0], {
808
- pixelSize: 12,
809
- });
810
- let pointGraphic2 = new ANOVGIS.Point(positions[1], {
811
- pixelSize: 12,
812
- });
813
- let pointGraphic3 = new ANOVGIS.Point(positions[2], {
814
- pixelSize: 12,
815
- });
816
- layer.addGraphic(pointGraphic);
817
- layer.addGraphic(pointGraphic2);
818
- layer.addGraphic(pointGraphic3);
819
- ANOVGIS.LocateUtil.flyToPositions(viewer, positions, 260, -20, 1.5, 3, null);</code></pre>
820
-
821
-
822
-
823
-
824
-
825
-
826
-
827
-
828
-
829
-
830
-
831
-
832
- </dl>
833
-
834
-
835
-
836
-
837
- <div class="nameContainer">
838
- <h4 class="name" id=".flyToTarget">
839
- <a href="#.flyToTarget" class="doc-link"></a>
840
- <span class="type-signature attribute-static">static</span> ANOVGIS.LocateUtil.flyToTarget<span class="signature">(viewer, target, <span class="optional">heading</span>, <span class="optional">pitch</span>, <span class="optional">range</span>, <span class="optional">duration</span>, <span class="optional">callBack</span>)</span>
841
-
842
-
843
- <div class="source-link rightLinks" style="display:none">
844
- <a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/base/utils/LocateUtil.js#L338">base/utils/LocateUtil.js 338</a>
845
- </div>
846
-
847
-
848
- </h4>
849
-
850
- </div>
851
-
852
-
853
-
854
-
855
- <div class="description">
856
- 飞行定位到一个笛卡尔空间直角坐标点位置
857
- </div>
858
-
859
-
860
-
861
-
862
-
863
-
864
-
865
-
866
-
867
-
868
-
869
-
870
-
871
- <table class="params">
872
- <thead>
873
- <tr>
874
-
875
- <th>Name</th>
876
-
877
-
878
- <th>Type</th>
879
-
880
-
881
- <th>Default</th>
882
-
883
-
884
- <th class="last">Description</th>
885
- </tr>
886
- </thead>
887
-
888
- <tbody>
889
-
890
-
891
- <tr>
892
-
893
- <td class="name"><code>viewer</code></td>
894
-
895
-
896
- <td class="type">
897
-
898
-
899
- <span class="param-type"><a href="Viewer.html">Viewer</a></span>
900
-
901
-
902
-
903
- </td>
904
-
905
-
906
- <td class="default">
907
-
908
- </td>
909
-
910
-
911
- <td class="description last">
912
-
913
-
914
-
915
-
916
-
917
-
918
- 三维球</td>
919
- </tr>
920
-
921
-
922
-
923
- <tr>
924
-
925
- <td class="name"><code>target</code></td>
926
-
927
-
928
- <td class="type">
929
-
930
-
931
- <span class="param-type"><a href="Layer.html">Layer</a></span>
932
- |
933
-
934
- <span class="param-type"><a href="Graphic.html">Graphic</a></span>
935
- |
936
-
937
- <span class="param-type">Entity</span>
938
- |
939
-
940
- <span class="param-type">Array.&lt;Entity></span>
941
- |
942
-
943
- <span class="param-type">EntityCollection</span>
944
- |
945
-
946
- <span class="param-type">DataSource</span>
947
- |
948
-
949
- <span class="param-type">ImageryLayer</span>
950
- |
951
-
952
- <span class="param-type">Cesium3DTileset</span>
953
- |
954
-
955
- <span class="param-type">TimeDynamicPointCloud</span>
956
- |
957
-
958
- <span class="param-type">Promise.&lt;(Entity|Array.&lt;Entity>|EntityCollection|DataSource|ImageryLayer|Cesium3DTileset|TimeDynamicPointCloud)></span>
959
-
960
-
961
-
962
- </td>
963
-
964
-
965
- <td class="default">
966
-
967
- </td>
968
-
969
-
970
- <td class="description last">
971
-
972
-
973
-
974
-
975
-
976
-
977
- 实体Graphic或图层Layer对象,也可以是Cesium原生对象等。</td>
978
- </tr>
979
-
980
-
981
-
982
- <tr>
983
-
984
- <td class="name"><code>heading</code></td>
985
-
986
-
987
- <td class="type">
988
-
989
-
990
- <span class="param-type">Number</span>
991
-
992
-
993
-
994
- </td>
995
-
996
-
997
- <td class="default">
998
-
999
- <code class="language-javascript">0.0</code>
1000
-
1001
- </td>
1002
-
1003
-
1004
- <td class="description last">
1005
-
1006
-
1007
- <span class="optional">optional</span>
1008
-
1009
-
1010
-
1011
-
1012
-
1013
- The heading angle in radians. 偏航角 正北,由正北向东偏向为正</td>
1014
- </tr>
1015
-
1016
-
1017
-
1018
- <tr>
1019
-
1020
- <td class="name"><code>pitch</code></td>
1021
-
1022
-
1023
- <td class="type">
1024
-
1025
-
1026
- <span class="param-type">Number</span>
1027
-
1028
-
1029
-
1030
- </td>
1031
-
1032
-
1033
- <td class="default">
1034
-
1035
- <code class="language-javascript">0.0</code>
1036
-
1037
- </td>
1038
-
1039
-
1040
- <td class="description last">
1041
-
1042
-
1043
- <span class="optional">optional</span>
1044
-
1045
-
1046
-
1047
-
1048
-
1049
- The pitch angle in radians. 俯仰角 =-90 ENU局部坐标系,XY平面的旋转角度,平面下为负,上为正,</td>
1050
- </tr>
1051
-
1052
-
1053
-
1054
- <tr>
1055
-
1056
- <td class="name"><code>range</code></td>
1057
-
1058
-
1059
- <td class="type">
1060
-
1061
-
1062
- <span class="param-type">Number</span>
1063
-
1064
-
1065
-
1066
- </td>
1067
-
1068
-
1069
- <td class="default">
1070
-
1071
- <code class="language-javascript">0.0</code>
1072
-
1073
- </td>
1074
-
1075
-
1076
- <td class="description last">
1077
-
1078
-
1079
- <span class="optional">optional</span>
1080
-
1081
-
1082
-
1083
-
1084
-
1085
- The distance from the center in meters. 距目标点的高度</td>
1086
- </tr>
1087
-
1088
-
1089
-
1090
- <tr>
1091
-
1092
- <td class="name"><code>duration</code></td>
1093
-
1094
-
1095
- <td class="type">
1096
-
1097
-
1098
- <span class="param-type">*</span>
1099
-
1100
-
1101
-
1102
- </td>
1103
-
1104
-
1105
- <td class="default">
1106
-
1107
- <code class="language-javascript">3</code>
1108
-
1109
- </td>
1110
-
1111
-
1112
- <td class="description last">
1113
-
1114
-
1115
- <span class="optional">optional</span>
1116
-
1117
-
1118
-
1119
-
1120
-
1121
- 持续时间</td>
1122
- </tr>
1123
-
1124
-
1125
-
1126
- <tr>
1127
-
1128
- <td class="name"><code>callBack</code></td>
1129
-
1130
-
1131
- <td class="type">
1132
-
1133
-
1134
- <span class="param-type">*</span>
1135
-
1136
-
1137
-
1138
- </td>
1139
-
1140
-
1141
- <td class="default">
1142
-
1143
- <code class="language-javascript">null</code>
1144
-
1145
- </td>
1146
-
1147
-
1148
- <td class="description last">
1149
-
1150
-
1151
- <span class="optional">optional</span>
1152
-
1153
-
1154
-
1155
-
1156
-
1157
- 回调函数,定位完成后执行</td>
1158
- </tr>
1159
-
1160
-
1161
- </tbody>
1162
- </table>
1163
-
1164
-
1165
-
1166
-
1167
-
1168
-
1169
-
1170
-
1171
-
1172
-
1173
-
1174
-
1175
-
1176
-
1177
-
1178
- <dl class="details">
1179
-
1180
-
1181
-
1182
-
1183
-
1184
-
1185
-
1186
-
1187
-
1188
-
1189
-
1190
-
1191
-
1192
-
1193
-
1194
-
1195
-
1196
-
1197
-
1198
- <h5>Example:</h5>
1199
-
1200
- <pre><code class="language-javascript">//例子1,定位到graphic
1201
- layer.addTo(viewer);
1202
- let pointGraphic = new ANOVGIS.Point('117,39', {
1203
- pixelSize: 12,
1204
- });
1205
- layer.addGraphic(pointGraphic);
1206
- ANOVGIS.LocateUtil.flyToTarget(viewer,pointGraphic,0,-45,0,2,()=>{
1207
- alert('定位结束');
1208
- })
1209
-
1210
-
1211
- //例子2,定位到Layer
1212
- let positions = [
1213
- '117,39',
1214
- '117.5,39.5',
1215
- '118,39'
1216
- ];
1217
- let layer = new ANOVGIS.VectorLayer();
1218
- layer.addTo(viewer);
1219
- let pointGraphic = new ANOVGIS.Point(positions[0], {
1220
- pixelSize: 12,
1221
- });
1222
- let pointGraphic2 = new ANOVGIS.Point(positions[1], {
1223
- pixelSize: 12,
1224
- });
1225
- let pointGraphic3 = new ANOVGIS.Point(positions[2], {
1226
- pixelSize: 12,
1227
- });
1228
- layer.addGraphic(pointGraphic);
1229
- layer.addGraphic(pointGraphic2);
1230
- layer.addGraphic(pointGraphic3);
1231
- ANOVGIS.LocateUtil.flyToTarget(viewer, layer, 0, -45, 0, 2, () => {
1232
- alert('定位结束');
1233
- })</code></pre>
1234
-
1235
-
1236
-
1237
-
1238
-
1239
-
1240
-
1241
-
1242
-
1243
-
1244
-
1245
-
1246
- </dl>
1247
-
1248
-
1249
-
1250
-
1251
-
1252
-
1253
-
1254
-
1255
- </article>
1256
-
1257
- </section>
1258
-
1259
-
1260
-
1261
-
1262
-
1263
- <div class="help">
1264
- 需要帮助 ? 最快获取答案的途径是百度 <a href="https://www.baidu.com/">测试</a>.
1265
- </div>
1266
-
1267
- <footer>
1268
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
1269
- </footer>
1270
- </div>
1271
-
1272
- <div class="nav">
1273
- <div class="menu">
1274
- <input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
1275
- <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>
1276
- </div>
1277
- </div>
1278
-
1279
- <script>
1280
- if (window.frameElement) {
1281
- document.body.className = 'embedded';
1282
-
1283
- var ele = document.createElement('a');
1284
- ele.className = 'popout';
1285
- ele.target = '_blank';
1286
- ele.href = window.location.href;
1287
- ele.title = 'Pop out';
1288
- document.getElementById('main').appendChild(ele);
1289
- }
1290
-
1291
- // Set targets on external links. Sandcastle and GitHub shouldn't be embedded in any iframe.
1292
- Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
1293
- if (/^https?:/i.test(a.getAttribute('href'))) {
1294
- a.target='_blank';
1295
- }
1296
- });
1297
- </script>
1298
-
1299
- <script src="javascript/prism.js"></script>
1300
- <script src="javascript/cesiumDoc.js"></script>
1301
-
1302
- </body>
1303
- </html>