@mapgis/webclient-cesium-plugin 17.8.1 → 17.10.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +280 -482
- package/dist/esm/commonjsHelpers.js +1 -0
- package/dist/esm/s3m.js +1 -0
- package/dist/esm/webclient-cesium-plugin.js +1 -0
- package/dist/umd/webclient-cesium-plugin.min.js +1 -0
- package/{documention → documentation}/AlgorithmLib.html +169 -149
- package/{documention → documentation}/AngulationTool.html +85 -51
- package/{documention → documentation}/AnimationTool.html +30 -30
- package/{documention → documentation}/ArcGISMapServerImageryProvider.html +9 -13
- package/{documention → documentation}/ArcGISMapServerSingleImageryProvider.html +90 -30
- package/{documention → documentation}/ArcGISTileServerImageryProvider.html +17 -17
- package/{documention → documentation}/ArcGISVectorTileImageryProvider.html +21 -8
- package/{documention → documentation}/BaseImageryProvider.html +2 -2
- package/{documention → documentation}/Cesium.Material.html +2 -2
- package/{documention → documentation}/Cesium.Viewer.html +5 -5
- package/{documention → documentation}/Cesium3DTileset.html +43 -25
- package/{documention → documentation}/CesiumHeatmap.html +22 -19
- package/{documention/S3MTileset.html → documentation/CesiumNavigation.html} +52 -85
- package/{documention → documentation}/CesiumTerrainProvider.html +55 -15
- package/{documention/OpenWeatherImageryProvider.html → documentation/CircleWaveMaterialProperty.html} +75 -95
- package/{documention → documentation}/CollisionDetectionByRender.html +245 -88
- package/{documention → documentation}/CompatibleFunc.html +24 -33
- package/{documention → documentation}/CustomPrimitive.html +3 -5
- package/{documention → documentation}/CustomProjection.html +3 -3
- package/{documention → documentation}/CustomTilingScheme.html +35 -36
- package/{documention → documentation}/CutFillAnalysis.html +59 -27
- package/{documention → documentation}/CuttingTool.html +198 -103
- package/{documention → documentation}/Deferred.html +2 -2
- package/{documention → documentation}/DrawElement.html +418 -34
- package/{documention → documentation}/DrawTool.html +81 -29
- package/documentation/EditTool.html +2819 -0
- package/{documention → documentation}/FirstPersonPerspective.html +18 -10
- package/{documention → documentation}/FloodAnalysis.html +93 -23
- package/{documention → documentation}/FloodAnalysisReflection.html +18 -44
- package/documentation/FlowParticle.html +863 -0
- package/{documention → documentation}/Fluid.html +473 -74
- package/{documention → documentation}/FluidFoam.html +36 -16
- package/{documention → documentation}/FluidReflection.html +68 -15
- package/{documention → documentation}/FluidShadow.html +67 -14
- package/{documention → documentation}/FluidSourceCollection.html +14 -7
- package/{documention → documentation}/FluidSpecular.html +33 -14
- package/documentation/FluidSurfaceDistortion.html +682 -0
- package/documentation/FluidSurfaceFoam.html +1006 -0
- package/{documention → documentation}/FollowPerspective.html +15 -7
- package/{documention → documentation}/GeoJSONLayerUtil.html +38 -10
- package/documentation/GeoJSONLayerView.html +1353 -0
- package/{documention → documentation}/GlobeIndependentTranslucency.html +89 -6
- package/{documention → documentation}/GodPerspective.html +14 -6
- package/{documention → documentation}/Graphic.html +1053 -1042
- package/{documention → documentation}/GraphicTransformTool.html +65 -23
- package/{documention → documentation}/GraphicsLayer.html +359 -156
- package/{documention → documentation}/GraphicsLayerUtil.html +28 -10
- package/documentation/GraphicsLayerView.html +759 -0
- package/{documention/EditTool.html → documentation/HashMap.html} +253 -418
- package/{documention → documentation}/HeightLimited.html +54 -21
- package/documentation/IGSFeatureLayerUtil.html +840 -0
- package/documentation/IGSFeatureLayerView.html +1348 -0
- package/documentation/IGSMapImageLayerUtil.html +855 -0
- package/{documention/IGSFeatureLayerUtil.html → documentation/IGSMapImageLayerView.html} +68 -46
- package/documentation/IGSTileLayerView.html +658 -0
- package/{documention → documentation}/ISSceneLayerUtil.html +3 -3
- package/{documention → documentation}/KeyboardCameraController.html +54 -6
- package/documentation/LightningStorm.html +2073 -0
- package/documentation/MapGISClusterPrimitiveCollection.html +1050 -0
- package/{documention → documentation}/MapGISDynamicLabelCollection.html +370 -178
- package/{documention → documentation}/MapGISFeatureGridCollection.html +123 -89
- package/{documention → documentation}/MapGISImageServerImageryProvider.html +93 -71
- package/{documention → documentation}/MapGISImageServerSingleImageryProvider.html +140 -92
- package/{documention → documentation}/MapGISM3DSet.html +49 -33
- package/{documention → documentation}/MapGISMapServerImageryProvider.html +78 -87
- package/{documention → documentation}/MapGISMapServerSingleImageryProvider.html +111 -43
- package/{documention → documentation}/MapGISTerrainProvider.html +268 -208
- package/{documention → documentation}/MapGISTerrainService.html +124 -82
- package/{documention → documentation}/MapGISTileAvailability.html +104 -47
- package/{documention → documentation}/MapGISTileServerImageryProvider.html +76 -83
- package/{documention → documentation}/MapGISVectorTileImageryProvider.html +135 -115
- package/{documention → documentation}/MeasureAreaTool.html +53 -14
- package/{documention → documentation}/MeasureLengthTool.html +17 -14
- package/{documention → documentation}/MeasureSlopeTool.html +73 -34
- package/{documention/FlowParticle.html → documentation/ModelEditor.html} +132 -116
- package/{documention → documentation}/ModelFilterTool.html +27 -32
- package/{documention → documentation}/ModelTransformTool.html +195 -110
- package/{documention → documentation}/NavigationControl.html +25 -5
- package/{documention → documentation}/NavigationTool.html +36 -14
- package/{documention → documentation}/NormalPerspective.html +33 -7
- package/documentation/OpenWeatherImageryProvider.html +1133 -0
- package/{documention → documentation}/PointFluidSource.html +22 -13
- package/{documention → documentation}/PolylineTrailLinkMaterialProperty.html +104 -20
- package/{documention → documentation}/Popup.html +246 -63
- package/{documention/CesiumNavigation.html → documentation/PostProcessShaderBuilder.html} +10 -54
- package/{documention → documentation}/PostProcessStageLibrary.html +3127 -121
- package/{documention → documentation}/Promise.html +6 -6
- package/{documention → documentation}/ProviderBaseUrlRegExp.html +20 -4
- package/{documention → documentation}/Puddle.html +30 -9
- package/{documention → documentation}/RadarMaterialProperty.html +73 -18
- package/{documention → documentation}/ReImg.html +164 -15
- package/{documention → documentation}/RenderUtil.html +158 -6
- package/{documention → documentation}/ResetViewNavigationControl.html +28 -8
- package/{documention → documentation}/RiverGeometry.html +7 -7
- package/{documention → documentation}/RoamParticle.html +86 -79
- package/{documention → documentation}/RouteAnimationControl.html +37 -15
- package/{documention → documentation}/RouteAnimationLabel.html +39 -12
- package/{documention → documentation}/RouteAnimationModel.html +43 -16
- package/{documention → documentation}/RouteAnimationPath.html +156 -18
- package/{documention → documentation}/RouteAnimationPerspective.html +12 -3
- package/{documention → documentation}/RouteAnimationTool.html +244 -24
- package/documentation/S3MTileset.html +570 -0
- package/{documention → documentation}/SSR.html +20 -39
- package/{documention → documentation}/SceneView.html +615 -419
- package/documentation/SceneViewUtil.html +1253 -0
- package/documentation/Screenshot.html +964 -0
- package/{documention → documentation}/SelectTool.html +31 -77
- package/{documention → documentation}/ShadowRateAnalysis.html +236 -54
- package/{documention → documentation}/ShadowRateDrawCommand.html +18 -6
- package/{documention → documentation}/SingleImageryProvider.html +32 -10
- package/{documention → documentation}/SketchEditor.html +280 -127
- package/documentation/SkyLineAnalysis.html +576 -0
- package/{documention → documentation}/StableParticle.html +165 -46
- package/{documention → documentation}/Style.html +249 -249
- package/{documention → documentation}/TerrainAnalyse.html +391 -105
- package/{documention → documentation}/TerrainExcavateTool.html +99 -3
- package/{documention → documentation}/TerrainProfile.html +198 -56
- package/{documention → documentation}/ThemeManager.html +93 -42
- package/{documention → documentation}/Tooltip.html +35 -18
- package/documentation/TransformTool.html +1010 -0
- package/{documention → documentation}/TriangulationTool.html +122 -83
- package/documentation/UnderfluidCaustic.html +843 -0
- package/documentation/UnderfluidDistortion.html +600 -0
- package/documentation/UnderfluidFog.html +843 -0
- package/documentation/UnderfluidGodRay.html +843 -0
- package/documentation/UnderwaterCaustic.html +867 -0
- package/documentation/UnderwaterDistortion.html +578 -0
- package/documentation/UnderwaterFog.html +867 -0
- package/documentation/UnderwaterGodRay.html +821 -0
- package/{documention → documentation}/UrlTemplateImageryProvider.html +21 -9
- package/{documention → documentation}/UserInterfaceControl.html +28 -9
- package/documentation/VectorTileLayerUtil.html +1364 -0
- package/{documention → documentation}/VisiblityAnalysis.html +15 -12
- package/{documention → documentation}/VolumeCloud.html +113 -21
- package/{documention → documentation}/VolumeFluidSource.html +24 -8
- package/{documention → documentation}/WFSLayerUtil.html +39 -10
- package/documentation/WFSLayerView.html +1353 -0
- package/documentation/WMSLayerUtil.html +879 -0
- package/documentation/WMTSLayerUtil.html +877 -0
- package/documentation/WaterDepth.html +583 -0
- package/{documention → documentation}/WaterReflection.html +29 -26
- package/documentation/WaterSurface.html +2555 -0
- package/{documention/Underwater.html → documentation/WaterSurfaceDistortion.html} +79 -81
- package/documentation/WaterSurfaceFoam.html +1029 -0
- package/documentation/WaterSurfaceSSR.html +867 -0
- package/{documention → documentation}/WebMapServiceImageryProvider.html +8 -12
- package/{documention → documentation}/WebMapServiceSingleImageryProvider.html +94 -32
- package/{documention → documentation}/WebMapTileServiceImageryProvider.html +10 -15
- package/documentation/WebTileLayerUtil.html +877 -0
- package/{documention → documentation}/Wind3D.html +133 -54
- package/{documention → documentation}/ZoomNavigationControl.html +145 -9
- package/documentation/fonts/glyphicons-halflings-regular.svg +543 -0
- package/{documention → documentation}/global.html +14130 -2719
- package/{documention → documentation}/index.html +1 -1
- package/{documention → documentation}/initializeOptions.html +2 -2
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +96 -95
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +47 -46
- package/{documention → documentation}/module.exports_module.exports.html +2 -2
- package/{documention → documentation}/nav.html +3267 -1392
- package/documentation/nav.json +320 -0
- package/documentation/styles/adminlte/AdminLTE.min.css +4966 -0
- package/documentation/styles/adminlte/skin-blue.min.css +135 -0
- package/documentation/styles/bootstrap.min.css +7005 -0
- package/documentation/styles/common.css +173 -0
- package/documentation/styles/examples.css +119 -0
- package/{documention → documentation}/styles/font-awesome.css +692 -687
- package/documentation/styles/header.css +558 -0
- package/documentation/styles/jaguar.css +551 -0
- package/{documention → documentation}/styles/prettify-tomorrow.css +59 -28
- package/{documention → documentation}/styles/style.customize.css +83 -99
- package/package.json +42 -22
- package/dist/es5/webclient-cesium-plugin.min.js +0 -77
- package/dist/es5/webclient-common.min.js +0 -159
- package/dist/webclient-cesium-plugin-es6.min.js +0 -77
- package/documention/CircleWaveMaterialProperty.html +0 -382
- package/documention/DynamicEntityVisualizer.html +0 -348
- package/documention/DynamicLabelLayer.html +0 -1841
- package/documention/GroundPrimitiveLayer.html +0 -1675
- package/documention/HashMap.html +0 -4197
- package/documention/ModelEditor.html +0 -374
- package/documention/SceneViewCesium.html +0 -5544
- package/documention/Screenshot.html +0 -773
- package/documention/SketchEditorCesium.html +0 -1571
- package/documention/createColorTexture.html +0 -369
- package/documention/fonts/glyphicons-halflings-regular.svg +0 -288
- package/documention/isCounterClockwise.html +0 -760
- package/documention/scripts/app.min.js +0 -1
- package/documention/scripts/jquery.min.map +0 -1
- package/documention/scripts/search.js +0 -20
- package/documention/scripts/sideBar.js +0 -228
- package/documention/scripts/underscore-min.map +0 -1
- package/documention/styles/adminlte/AdminLTE.min.css +0 -7
- package/documention/styles/adminlte/skin-blue.min.css +0 -1
- package/documention/styles/anchor.png +0 -0
- package/documention/styles/app.min.css +0 -1
- package/documention/styles/bootstrap.min.css +0 -6
- package/documention/styles/c.png +0 -0
- package/documention/styles/common.css +0 -175
- package/documention/styles/examples.css +0 -116
- package/documention/styles/header.css +0 -556
- package/documention/styles/iframe.css +0 -29
- package/documention/styles/jaguar.css +0 -553
- package/documention/styles/m.png +0 -0
- package/documention/styles/reset.css +0 -44
- package/documention/styles/up-arrow.png +0 -0
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +0 -162
- /package/{documention → documentation}/fonts/fontawesome-webfont.woff2 +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.eot +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.ttf +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff2 +0 -0
- /package/{documention → documentation}/scripts/adminlte/app.min.js +0 -0
- /package/{documention → documentation}/scripts/bootstrap.min.js +0 -0
- /package/{documention → documentation}/scripts/jquery.min.js +0 -0
- /package/{documention → documentation}/scripts/linenumber.js +0 -0
- /package/{documention → documentation}/scripts/main.js +0 -0
- /package/{documention → documentation}/scripts/prettify/Apache-License-2.0.txt +0 -0
- /package/{documention → documentation}/scripts/prettify/lang-css.js +0 -0
- /package/{documention → documentation}/scripts/prettify/prettify.js +0 -0
- /package/{documention → documentation}/scripts/underscore-min.js +0 -0
- /package/{documention → documentation}/styles/adminlte/font-awesome.min.css +0 -0
- /package/{documention → documentation}/styles/prettify-jsdoc.css +0 -0
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/tools/TriangulationTool.js, line
|
|
91
|
+
engineExtensions/tools/TriangulationTool.js, line 8
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
@@ -99,7 +99,9 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>三角测量工具。</p>
|
|
103
|
+
<p>该工具负责在 Cesium 场景中管理三角高程量算流程,并封装连续绘制、
|
|
104
|
+
标注提示与结果清理控制。</p>
|
|
103
105
|
</div>
|
|
104
106
|
|
|
105
107
|
|
|
@@ -146,7 +148,7 @@
|
|
|
146
148
|
|
|
147
149
|
<td class="description last">
|
|
148
150
|
|
|
149
|
-
<p
|
|
151
|
+
<p>Cesium 视图对象。</p></td>
|
|
150
152
|
</tr>
|
|
151
153
|
|
|
152
154
|
|
|
@@ -169,7 +171,7 @@
|
|
|
169
171
|
|
|
170
172
|
<td class="description last">
|
|
171
173
|
|
|
172
|
-
<p
|
|
174
|
+
<p>三角测量配置项。</p>
|
|
173
175
|
|
|
174
176
|
|
|
175
177
|
<table class="params">
|
|
@@ -223,7 +225,7 @@
|
|
|
223
225
|
|
|
224
226
|
|
|
225
227
|
|
|
226
|
-
<p
|
|
228
|
+
<p>量算结束回调。</p></td>
|
|
227
229
|
</tr>
|
|
228
230
|
|
|
229
231
|
|
|
@@ -259,7 +261,7 @@
|
|
|
259
261
|
|
|
260
262
|
|
|
261
263
|
|
|
262
|
-
<p
|
|
264
|
+
<p>标注内容回调,用于覆盖默认提示文字。</p></td>
|
|
263
265
|
</tr>
|
|
264
266
|
|
|
265
267
|
|
|
@@ -295,7 +297,7 @@
|
|
|
295
297
|
|
|
296
298
|
|
|
297
299
|
|
|
298
|
-
<p
|
|
300
|
+
<p>小于该距离时禁用深度检测,使标注保持前置显示。</p></td>
|
|
299
301
|
</tr>
|
|
300
302
|
|
|
301
303
|
|
|
@@ -329,7 +331,7 @@
|
|
|
329
331
|
|
|
330
332
|
|
|
331
333
|
|
|
332
|
-
<p
|
|
334
|
+
<p>线颜色。</p></td>
|
|
333
335
|
</tr>
|
|
334
336
|
|
|
335
337
|
|
|
@@ -363,7 +365,7 @@
|
|
|
363
365
|
|
|
364
366
|
|
|
365
367
|
|
|
366
|
-
<p
|
|
368
|
+
<p>点颜色。</p></td>
|
|
367
369
|
</tr>
|
|
368
370
|
|
|
369
371
|
|
|
@@ -397,7 +399,7 @@
|
|
|
397
399
|
|
|
398
400
|
|
|
399
401
|
|
|
400
|
-
<p
|
|
402
|
+
<p>线材质。</p></td>
|
|
401
403
|
</tr>
|
|
402
404
|
|
|
403
405
|
|
|
@@ -433,7 +435,7 @@
|
|
|
433
435
|
|
|
434
436
|
|
|
435
437
|
|
|
436
|
-
<p>label
|
|
438
|
+
<p>label 文字样式,支持 <code>FILL</code>、<code>OUTLINE</code>、<code>FILL_AND_OUTLINE</code>。</p></td>
|
|
437
439
|
</tr>
|
|
438
440
|
|
|
439
441
|
|
|
@@ -469,7 +471,7 @@
|
|
|
469
471
|
|
|
470
472
|
|
|
471
473
|
|
|
472
|
-
<p>label
|
|
474
|
+
<p>label 字体与字号。</p></td>
|
|
473
475
|
</tr>
|
|
474
476
|
|
|
475
477
|
|
|
@@ -505,7 +507,7 @@
|
|
|
505
507
|
|
|
506
508
|
|
|
507
509
|
|
|
508
|
-
<p>label
|
|
510
|
+
<p>label 文字颜色。</p></td>
|
|
509
511
|
</tr>
|
|
510
512
|
|
|
511
513
|
|
|
@@ -541,7 +543,7 @@
|
|
|
541
543
|
|
|
542
544
|
|
|
543
545
|
|
|
544
|
-
<p>label
|
|
546
|
+
<p>label 描边颜色。</p></td>
|
|
545
547
|
</tr>
|
|
546
548
|
|
|
547
549
|
|
|
@@ -577,7 +579,7 @@
|
|
|
577
579
|
|
|
578
580
|
|
|
579
581
|
|
|
580
|
-
<p>label
|
|
582
|
+
<p>label 外轮廓宽度。</p></td>
|
|
581
583
|
</tr>
|
|
582
584
|
|
|
583
585
|
|
|
@@ -613,7 +615,7 @@
|
|
|
613
615
|
|
|
614
616
|
|
|
615
617
|
|
|
616
|
-
<p>label
|
|
618
|
+
<p>label 摆放位置。</p></td>
|
|
617
619
|
</tr>
|
|
618
620
|
|
|
619
621
|
|
|
@@ -649,7 +651,7 @@
|
|
|
649
651
|
|
|
650
652
|
|
|
651
653
|
|
|
652
|
-
<p>是否显示 label
|
|
654
|
+
<p>是否显示 label 背景。</p></td>
|
|
653
655
|
</tr>
|
|
654
656
|
|
|
655
657
|
|
|
@@ -685,7 +687,7 @@
|
|
|
685
687
|
|
|
686
688
|
|
|
687
689
|
|
|
688
|
-
<p>
|
|
690
|
+
<p>label 背景色。</p></td>
|
|
689
691
|
</tr>
|
|
690
692
|
|
|
691
693
|
|
|
@@ -721,7 +723,7 @@
|
|
|
721
723
|
|
|
722
724
|
|
|
723
725
|
|
|
724
|
-
<p>label
|
|
726
|
+
<p>label 相对锚点的屏幕偏移。</p></td>
|
|
725
727
|
</tr>
|
|
726
728
|
|
|
727
729
|
|
|
@@ -757,7 +759,7 @@
|
|
|
757
759
|
|
|
758
760
|
|
|
759
761
|
|
|
760
|
-
<p
|
|
762
|
+
<p>是否显示详细量算信息。</p></td>
|
|
761
763
|
</tr>
|
|
762
764
|
|
|
763
765
|
|
|
@@ -793,7 +795,7 @@
|
|
|
793
795
|
|
|
794
796
|
|
|
795
797
|
|
|
796
|
-
<p
|
|
798
|
+
<p>展示信息时是否使用绝对值。</p></td>
|
|
797
799
|
</tr>
|
|
798
800
|
|
|
799
801
|
|
|
@@ -829,7 +831,7 @@
|
|
|
829
831
|
|
|
830
832
|
|
|
831
833
|
|
|
832
|
-
<p
|
|
834
|
+
<p>是否启用标签随视角高度缩放。</p></td>
|
|
833
835
|
</tr>
|
|
834
836
|
|
|
835
837
|
|
|
@@ -865,7 +867,7 @@
|
|
|
865
867
|
|
|
866
868
|
|
|
867
869
|
|
|
868
|
-
<p
|
|
870
|
+
<p>标签随视角高度缩放的自定义函数。</p></td>
|
|
869
871
|
</tr>
|
|
870
872
|
|
|
871
873
|
|
|
@@ -901,7 +903,7 @@
|
|
|
901
903
|
|
|
902
904
|
|
|
903
905
|
|
|
904
|
-
<p
|
|
906
|
+
<p>是否连续绘制。</p></td>
|
|
905
907
|
</tr>
|
|
906
908
|
|
|
907
909
|
|
|
@@ -937,7 +939,43 @@
|
|
|
937
939
|
|
|
938
940
|
|
|
939
941
|
|
|
940
|
-
<p
|
|
942
|
+
<p>是否显示多个量算结果。</p></td>
|
|
943
|
+
</tr>
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
<tr>
|
|
948
|
+
|
|
949
|
+
<td class="name"><code>enableAvoidance</code></td>
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
<td class="type">
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
<span class="param-type">Boolean</span>
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
</td>
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
<td class="default">
|
|
963
|
+
|
|
964
|
+
false
|
|
965
|
+
|
|
966
|
+
</td>
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
<td class="description last">
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
<span class="optional"> 可选</span>
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
<p>是否开启量算结果标签避让。</p></td>
|
|
941
979
|
</tr>
|
|
942
980
|
|
|
943
981
|
|
|
@@ -1001,61 +1039,62 @@
|
|
|
1001
1039
|
|
|
1002
1040
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1003
1041
|
const { TriangulationTool } = zondy.cesium
|
|
1042
|
+
|
|
1004
1043
|
// ES6引入方式
|
|
1005
1044
|
import { TriangulationTool } from "@mapgis/webclient-cesium-plugin"
|
|
1006
1045
|
|
|
1007
|
-
function callBack(arg){
|
|
1046
|
+
function callBack(arg) {
|
|
1008
1047
|
}
|
|
1009
|
-
var triangulationToolMul = new TriangulationTool(viewer,{
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
}
|
|
1053
|
-
return new NearFarScalar(15728640, 1, 78643200, 0);
|
|
1048
|
+
var triangulationToolMul = new TriangulationTool(viewer, {
|
|
1049
|
+
callBack: callBack,
|
|
1050
|
+
scaleByDistance: function(height) {
|
|
1051
|
+
if (height < 30) {
|
|
1052
|
+
return new NearFarScalar(30, 3, 180, 0)
|
|
1053
|
+
} else if (height < 60) {
|
|
1054
|
+
return new NearFarScalar(60, 3, 360, 0)
|
|
1055
|
+
} else if (height < 120) {
|
|
1056
|
+
return new NearFarScalar(120, 3, 720, 0)
|
|
1057
|
+
} else if (height < 240) {
|
|
1058
|
+
return new NearFarScalar(240, 2, 1200, 0)
|
|
1059
|
+
} else if (height < 480) {
|
|
1060
|
+
return new NearFarScalar(480, 2, 2400, 0)
|
|
1061
|
+
} else if (height < 960) {
|
|
1062
|
+
return new NearFarScalar(960, 2, 4800, 0)
|
|
1063
|
+
} else if (height < 1920) {
|
|
1064
|
+
return new NearFarScalar(1920, 2, 9600, 0)
|
|
1065
|
+
} else if (height < 3840) {
|
|
1066
|
+
return new NearFarScalar(3840, 2, 19200, 0)
|
|
1067
|
+
} else if (height < 7680) {
|
|
1068
|
+
return new NearFarScalar(7680, 2, 38400, 0)
|
|
1069
|
+
} else if (height < 15360) {
|
|
1070
|
+
return new NearFarScalar(15360, 2, 76800, 0)
|
|
1071
|
+
} else if (height < 30720) {
|
|
1072
|
+
return new NearFarScalar(30720, 2, 153600, 0)
|
|
1073
|
+
} else if (height < 61440) {
|
|
1074
|
+
return new NearFarScalar(61440, 2, 307200, 0)
|
|
1075
|
+
} else if (height < 122880) {
|
|
1076
|
+
return new NearFarScalar(122880, 2, 614400, 0)
|
|
1077
|
+
} else if (height < 245760) {
|
|
1078
|
+
return new NearFarScalar(245760, 2, 1228800, 0)
|
|
1079
|
+
} else if (height < 491520) {
|
|
1080
|
+
return new NearFarScalar(491520, 2, 2457600, 0)
|
|
1081
|
+
} else if (height < 983040) {
|
|
1082
|
+
return new NearFarScalar(983040, 2, 4915200, 0)
|
|
1083
|
+
} else if (height < 1966080) {
|
|
1084
|
+
return new NearFarScalar(1966080, 2, 9830400, 0)
|
|
1085
|
+
} else if (height < 3932160) {
|
|
1086
|
+
return new NearFarScalar(3932160, 1, 19660800, 0)
|
|
1087
|
+
} else if (height < 7864320) {
|
|
1088
|
+
return new NearFarScalar(7864320, 1, 39321600, 0)
|
|
1089
|
+
} else if (height < 15728640) {
|
|
1090
|
+
return new NearFarScalar(15728640, 1, 78643200, 0)
|
|
1054
1091
|
}
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1092
|
+
return new NearFarScalar(15728640, 1, 78643200, 0)
|
|
1093
|
+
}
|
|
1094
|
+
})
|
|
1095
|
+
triangulationToolMul.startTool()
|
|
1096
|
+
// triangulationToolMul.stopTool()
|
|
1097
|
+
scene.camera.enableTerrainAdjustmentWhenLoading = false</code></pre>
|
|
1059
1098
|
|
|
1060
1099
|
|
|
1061
1100
|
|
|
@@ -1092,7 +1131,7 @@ scene.camera.enableTerrainAdjustmentWhenLoading = false;</code></pre>
|
|
|
1092
1131
|
|
|
1093
1132
|
|
|
1094
1133
|
<div class="tag-source">
|
|
1095
|
-
engineExtensions/tools/TriangulationTool.js, line
|
|
1134
|
+
engineExtensions/tools/TriangulationTool.js, line 234
|
|
1096
1135
|
</div>
|
|
1097
1136
|
|
|
1098
1137
|
</div>
|
|
@@ -1103,7 +1142,7 @@ scene.camera.enableTerrainAdjustmentWhenLoading = false;</code></pre>
|
|
|
1103
1142
|
|
|
1104
1143
|
|
|
1105
1144
|
<div class="description">
|
|
1106
|
-
<p
|
|
1145
|
+
<p>清除全部三角测量结果,并在允许连续绘制时重新进入激活状态。</p>
|
|
1107
1146
|
</div>
|
|
1108
1147
|
|
|
1109
1148
|
|
|
@@ -1163,7 +1202,7 @@ scene.camera.enableTerrainAdjustmentWhenLoading = false;</code></pre>
|
|
|
1163
1202
|
|
|
1164
1203
|
|
|
1165
1204
|
<div class="tag-source">
|
|
1166
|
-
engineExtensions/tools/TriangulationTool.js, line
|
|
1205
|
+
engineExtensions/tools/TriangulationTool.js, line 123
|
|
1167
1206
|
</div>
|
|
1168
1207
|
|
|
1169
1208
|
</div>
|
|
@@ -1174,7 +1213,7 @@ scene.camera.enableTerrainAdjustmentWhenLoading = false;</code></pre>
|
|
|
1174
1213
|
|
|
1175
1214
|
|
|
1176
1215
|
<div class="description">
|
|
1177
|
-
<p
|
|
1216
|
+
<p>激活三角测量流程并创建当前绘制工具。</p>
|
|
1178
1217
|
</div>
|
|
1179
1218
|
|
|
1180
1219
|
|
|
@@ -1234,7 +1273,7 @@ scene.camera.enableTerrainAdjustmentWhenLoading = false;</code></pre>
|
|
|
1234
1273
|
|
|
1235
1274
|
|
|
1236
1275
|
<div class="tag-source">
|
|
1237
|
-
engineExtensions/tools/TriangulationTool.js, line
|
|
1276
|
+
engineExtensions/tools/TriangulationTool.js, line 215
|
|
1238
1277
|
</div>
|
|
1239
1278
|
|
|
1240
1279
|
</div>
|
|
@@ -1245,7 +1284,7 @@ scene.camera.enableTerrainAdjustmentWhenLoading = false;</code></pre>
|
|
|
1245
1284
|
|
|
1246
1285
|
|
|
1247
1286
|
<div class="description">
|
|
1248
|
-
<p
|
|
1287
|
+
<p>停止三角测量。</p>
|
|
1249
1288
|
</div>
|
|
1250
1289
|
|
|
1251
1290
|
|
|
@@ -1307,7 +1346,7 @@ scene.camera.enableTerrainAdjustmentWhenLoading = false;</code></pre>
|
|
|
1307
1346
|
|
|
1308
1347
|
|
|
1309
1348
|
|
|
1310
|
-
<p
|
|
1349
|
+
<p>是否保留当前量算结果;默认 <code>false</code>,会同时清理结果与交互状态。</p></td>
|
|
1311
1350
|
</tr>
|
|
1312
1351
|
|
|
1313
1352
|
|
|
@@ -1368,7 +1407,7 @@ scene.camera.enableTerrainAdjustmentWhenLoading = false;</code></pre>
|
|
|
1368
1407
|
|
|
1369
1408
|
|
|
1370
1409
|
<footer>
|
|
1371
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri
|
|
1410
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:31 GMT+0800 (中国标准时间)
|
|
1372
1411
|
</footer>
|
|
1373
1412
|
</div>
|
|
1374
1413
|
</div>
|