@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/MeasureLengthTool.js, line
|
|
91
|
+
engineExtensions/tools/MeasureLengthTool.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
|
|
|
@@ -1726,6 +1728,7 @@ modify 修改人:周凌风 2020年9月25日 添加针对地形数据进行贴
|
|
|
1726
1728
|
|
|
1727
1729
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1728
1730
|
const { MeasureLengthTool } = zondy.cesium
|
|
1731
|
+
|
|
1729
1732
|
// ES6引入方式
|
|
1730
1733
|
import { MeasureLengthTool } from "@mapgis/webclient-cesium-plugin"
|
|
1731
1734
|
|
|
@@ -1958,7 +1961,7 @@ measureLengthTool.startTool(); //开始测量
|
|
|
1958
1961
|
|
|
1959
1962
|
|
|
1960
1963
|
<div class="tag-source">
|
|
1961
|
-
engineExtensions/tools/MeasureLengthTool.js, line
|
|
1964
|
+
engineExtensions/tools/MeasureLengthTool.js, line 262
|
|
1962
1965
|
</div>
|
|
1963
1966
|
|
|
1964
1967
|
</div>
|
|
@@ -1969,7 +1972,7 @@ measureLengthTool.startTool(); //开始测量
|
|
|
1969
1972
|
|
|
1970
1973
|
|
|
1971
1974
|
<div class="description">
|
|
1972
|
-
<p
|
|
1975
|
+
<p>清除全部距离量算结果,并在允许连续绘制时重新进入激活状态。</p>
|
|
1973
1976
|
</div>
|
|
1974
1977
|
|
|
1975
1978
|
|
|
@@ -2029,7 +2032,7 @@ measureLengthTool.startTool(); //开始测量
|
|
|
2029
2032
|
|
|
2030
2033
|
|
|
2031
2034
|
<div class="tag-source">
|
|
2032
|
-
engineExtensions/tools/MeasureLengthTool.js, line
|
|
2035
|
+
engineExtensions/tools/MeasureLengthTool.js, line 152
|
|
2033
2036
|
</div>
|
|
2034
2037
|
|
|
2035
2038
|
</div>
|
|
@@ -2040,7 +2043,7 @@ measureLengthTool.startTool(); //开始测量
|
|
|
2040
2043
|
|
|
2041
2044
|
|
|
2042
2045
|
<div class="description">
|
|
2043
|
-
<p
|
|
2046
|
+
<p>激活距离量算流程并创建当前绘制工具。</p>
|
|
2044
2047
|
</div>
|
|
2045
2048
|
|
|
2046
2049
|
|
|
@@ -2100,7 +2103,7 @@ measureLengthTool.startTool(); //开始测量
|
|
|
2100
2103
|
|
|
2101
2104
|
|
|
2102
2105
|
<div class="tag-source">
|
|
2103
|
-
engineExtensions/tools/MeasureLengthTool.js, line
|
|
2106
|
+
engineExtensions/tools/MeasureLengthTool.js, line 243
|
|
2104
2107
|
</div>
|
|
2105
2108
|
|
|
2106
2109
|
</div>
|
|
@@ -2111,7 +2114,7 @@ measureLengthTool.startTool(); //开始测量
|
|
|
2111
2114
|
|
|
2112
2115
|
|
|
2113
2116
|
<div class="description">
|
|
2114
|
-
<p
|
|
2117
|
+
<p>停止距离量算。</p>
|
|
2115
2118
|
</div>
|
|
2116
2119
|
|
|
2117
2120
|
|
|
@@ -2173,7 +2176,7 @@ measureLengthTool.startTool(); //开始测量
|
|
|
2173
2176
|
|
|
2174
2177
|
|
|
2175
2178
|
|
|
2176
|
-
<p
|
|
2179
|
+
<p>是否保留当前量算结果;默认 <code>false</code>,会同时清理结果与交互状态。</p></td>
|
|
2177
2180
|
</tr>
|
|
2178
2181
|
|
|
2179
2182
|
|
|
@@ -2234,7 +2237,7 @@ measureLengthTool.startTool(); //开始测量
|
|
|
2234
2237
|
|
|
2235
2238
|
|
|
2236
2239
|
<footer>
|
|
2237
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri
|
|
2240
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 GMT+0800 (中国标准时间)
|
|
2238
2241
|
</footer>
|
|
2239
2242
|
</div>
|
|
2240
2243
|
</div>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/tools/MeasureSlopeTool.js, line
|
|
91
|
+
engineExtensions/tools/MeasureSlopeTool.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
|
|
|
@@ -399,7 +401,7 @@
|
|
|
399
401
|
|
|
400
402
|
|
|
401
403
|
|
|
402
|
-
<p>label
|
|
404
|
+
<p>label 文字样式,支持 <code>FILL</code>、<code>OUTLINE</code>、<code>FILL_AND_OUTLINE</code>。</p></td>
|
|
403
405
|
</tr>
|
|
404
406
|
|
|
405
407
|
|
|
@@ -435,7 +437,7 @@
|
|
|
435
437
|
|
|
436
438
|
|
|
437
439
|
|
|
438
|
-
<p>label
|
|
440
|
+
<p>label 字体与字号。</p></td>
|
|
439
441
|
</tr>
|
|
440
442
|
|
|
441
443
|
|
|
@@ -471,7 +473,7 @@
|
|
|
471
473
|
|
|
472
474
|
|
|
473
475
|
|
|
474
|
-
<p>label
|
|
476
|
+
<p>label 文字颜色。</p></td>
|
|
475
477
|
</tr>
|
|
476
478
|
|
|
477
479
|
|
|
@@ -507,7 +509,7 @@
|
|
|
507
509
|
|
|
508
510
|
|
|
509
511
|
|
|
510
|
-
<p>label
|
|
512
|
+
<p>label 描边颜色。</p></td>
|
|
511
513
|
</tr>
|
|
512
514
|
|
|
513
515
|
|
|
@@ -543,7 +545,7 @@
|
|
|
543
545
|
|
|
544
546
|
|
|
545
547
|
|
|
546
|
-
<p>label
|
|
548
|
+
<p>label 外轮廓宽度。</p></td>
|
|
547
549
|
</tr>
|
|
548
550
|
|
|
549
551
|
|
|
@@ -579,7 +581,7 @@
|
|
|
579
581
|
|
|
580
582
|
|
|
581
583
|
|
|
582
|
-
<p>label
|
|
584
|
+
<p>label 摆放位置。</p></td>
|
|
583
585
|
</tr>
|
|
584
586
|
|
|
585
587
|
|
|
@@ -615,7 +617,7 @@
|
|
|
615
617
|
|
|
616
618
|
|
|
617
619
|
|
|
618
|
-
<p>是否显示 label
|
|
620
|
+
<p>是否显示 label 背景。</p></td>
|
|
619
621
|
</tr>
|
|
620
622
|
|
|
621
623
|
|
|
@@ -651,7 +653,7 @@
|
|
|
651
653
|
|
|
652
654
|
|
|
653
655
|
|
|
654
|
-
<p>
|
|
656
|
+
<p>label 背景色。</p></td>
|
|
655
657
|
</tr>
|
|
656
658
|
|
|
657
659
|
|
|
@@ -687,7 +689,7 @@
|
|
|
687
689
|
|
|
688
690
|
|
|
689
691
|
|
|
690
|
-
<p>label
|
|
692
|
+
<p>label 相对锚点的屏幕偏移。</p></td>
|
|
691
693
|
</tr>
|
|
692
694
|
|
|
693
695
|
|
|
@@ -723,7 +725,7 @@
|
|
|
723
725
|
|
|
724
726
|
|
|
725
727
|
|
|
726
|
-
<p
|
|
728
|
+
<p>是否连续绘制。</p></td>
|
|
727
729
|
</tr>
|
|
728
730
|
|
|
729
731
|
|
|
@@ -759,7 +761,43 @@
|
|
|
759
761
|
|
|
760
762
|
|
|
761
763
|
|
|
762
|
-
<p
|
|
764
|
+
<p>是否显示多个量算结果。</p></td>
|
|
765
|
+
</tr>
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
<tr>
|
|
770
|
+
|
|
771
|
+
<td class="name"><code>enableAvoidance</code></td>
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
<td class="type">
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
<span class="param-type">Boolean</span>
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
</td>
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
<td class="default">
|
|
785
|
+
|
|
786
|
+
false
|
|
787
|
+
|
|
788
|
+
</td>
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
<td class="description last">
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
<span class="optional"> 可选</span>
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
<p>是否开启量算结果标签避让。</p></td>
|
|
763
801
|
</tr>
|
|
764
802
|
|
|
765
803
|
|
|
@@ -823,13 +861,14 @@
|
|
|
823
861
|
|
|
824
862
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
825
863
|
const { MeasureSlopeTool } = zondy.cesium
|
|
864
|
+
|
|
826
865
|
// ES6引入方式
|
|
827
866
|
import { MeasureSlopeTool } from "@mapgis/webclient-cesium-plugin"
|
|
828
867
|
|
|
829
|
-
function callBack(arg){
|
|
830
|
-
var measureSlopeTool = new MeasureSlopeTool(viewer,{callBack:callBack})
|
|
831
|
-
measureSlopeTool.startTool()
|
|
832
|
-
//measureSlopeTool.stopTool()
|
|
868
|
+
function callBack(arg) {}
|
|
869
|
+
var measureSlopeTool = new MeasureSlopeTool(viewer, { callBack: callBack })
|
|
870
|
+
measureSlopeTool.startTool()
|
|
871
|
+
// measureSlopeTool.stopTool()</code></pre>
|
|
833
872
|
|
|
834
873
|
|
|
835
874
|
|
|
@@ -863,7 +902,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
863
902
|
<dd>
|
|
864
903
|
|
|
865
904
|
<div class="description">
|
|
866
|
-
<p
|
|
905
|
+
<p>当前坡度值。</p>
|
|
867
906
|
</div>
|
|
868
907
|
|
|
869
908
|
|
|
@@ -908,7 +947,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
908
947
|
<dd>
|
|
909
948
|
|
|
910
949
|
<div class="description">
|
|
911
|
-
<p
|
|
950
|
+
<p>右键后是否重新开始量算。</p>
|
|
912
951
|
</div>
|
|
913
952
|
|
|
914
953
|
|
|
@@ -960,7 +999,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
960
999
|
|
|
961
1000
|
|
|
962
1001
|
<div class="tag-source">
|
|
963
|
-
engineExtensions/tools/MeasureSlopeTool.js, line
|
|
1002
|
+
engineExtensions/tools/MeasureSlopeTool.js, line 181
|
|
964
1003
|
</div>
|
|
965
1004
|
|
|
966
1005
|
</div>
|
|
@@ -971,7 +1010,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
971
1010
|
|
|
972
1011
|
|
|
973
1012
|
<div class="description">
|
|
974
|
-
<p
|
|
1013
|
+
<p>清除全部坡度量算结果,并在允许连续绘制时重新进入激活状态。</p>
|
|
975
1014
|
</div>
|
|
976
1015
|
|
|
977
1016
|
|
|
@@ -1031,7 +1070,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
1031
1070
|
|
|
1032
1071
|
|
|
1033
1072
|
<div class="tag-source">
|
|
1034
|
-
engineExtensions/tools/MeasureSlopeTool.js, line
|
|
1073
|
+
engineExtensions/tools/MeasureSlopeTool.js, line 70
|
|
1035
1074
|
</div>
|
|
1036
1075
|
|
|
1037
1076
|
</div>
|
|
@@ -1042,7 +1081,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
1042
1081
|
|
|
1043
1082
|
|
|
1044
1083
|
<div class="description">
|
|
1045
|
-
<p
|
|
1084
|
+
<p>激活坡度量算流程并创建当前绘制工具。</p>
|
|
1046
1085
|
</div>
|
|
1047
1086
|
|
|
1048
1087
|
|
|
@@ -1102,7 +1141,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
1102
1141
|
|
|
1103
1142
|
|
|
1104
1143
|
<div class="tag-source">
|
|
1105
|
-
engineExtensions/tools/MeasureSlopeTool.js, line
|
|
1144
|
+
engineExtensions/tools/MeasureSlopeTool.js, line 162
|
|
1106
1145
|
</div>
|
|
1107
1146
|
|
|
1108
1147
|
</div>
|
|
@@ -1113,7 +1152,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
1113
1152
|
|
|
1114
1153
|
|
|
1115
1154
|
<div class="description">
|
|
1116
|
-
<p
|
|
1155
|
+
<p>停止坡度量算。</p>
|
|
1117
1156
|
</div>
|
|
1118
1157
|
|
|
1119
1158
|
|
|
@@ -1175,7 +1214,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
1175
1214
|
|
|
1176
1215
|
|
|
1177
1216
|
|
|
1178
|
-
<p
|
|
1217
|
+
<p>是否保留当前量算结果;默认 <code>false</code>,会同时清理结果与交互状态。</p></td>
|
|
1179
1218
|
</tr>
|
|
1180
1219
|
|
|
1181
1220
|
|
|
@@ -1236,7 +1275,7 @@ measureSlopeTool.startTool(); //开始测量
|
|
|
1236
1275
|
|
|
1237
1276
|
|
|
1238
1277
|
<footer>
|
|
1239
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri
|
|
1278
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 GMT+0800 (中国标准时间)
|
|
1240
1279
|
</footer>
|
|
1241
1280
|
</div>
|
|
1242
1281
|
</div>
|