@mapgis/webclient-cesium-plugin 17.8.1 → 17.10.9
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/util/when.js, line
|
|
91
|
+
engineExtensions/util/when.js, line 127
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
@@ -181,7 +181,7 @@ untrusted.</p>
|
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
<div class="tag-source">
|
|
184
|
-
engineExtensions/util/when.js, line
|
|
184
|
+
engineExtensions/util/when.js, line 149
|
|
185
185
|
</div>
|
|
186
186
|
|
|
187
187
|
</div>
|
|
@@ -369,7 +369,7 @@ Shortcut for .then(onFulfilledOrRejected, onFulfilledOrRejected, onProgress)</p>
|
|
|
369
369
|
|
|
370
370
|
|
|
371
371
|
<div class="tag-source">
|
|
372
|
-
engineExtensions/util/when.js, line
|
|
372
|
+
engineExtensions/util/when.js, line 159
|
|
373
373
|
</div>
|
|
374
374
|
|
|
375
375
|
</div>
|
|
@@ -521,7 +521,7 @@ Shortcut for .then(onFulfilledOrRejected, onFulfilledOrRejected, onProgress)</p>
|
|
|
521
521
|
|
|
522
522
|
|
|
523
523
|
<div class="tag-source">
|
|
524
|
-
engineExtensions/util/when.js, line
|
|
524
|
+
engineExtensions/util/when.js, line 186
|
|
525
525
|
</div>
|
|
526
526
|
|
|
527
527
|
</div>
|
|
@@ -668,7 +668,7 @@ i.e. onFulfilled.spread(undefined, array).</p>
|
|
|
668
668
|
|
|
669
669
|
|
|
670
670
|
<div class="tag-source">
|
|
671
|
-
engineExtensions/util/when.js, line
|
|
671
|
+
engineExtensions/util/when.js, line 172
|
|
672
672
|
</div>
|
|
673
673
|
|
|
674
674
|
</div>
|
|
@@ -821,7 +821,7 @@ with its reason.</li>
|
|
|
821
821
|
|
|
822
822
|
|
|
823
823
|
<footer>
|
|
824
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
824
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
825
825
|
</footer>
|
|
826
826
|
</div>
|
|
827
827
|
</div>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>服务基地址匹配正则表达式工具,用于从完整请求地址中提取符合规范的服务基地址。</p>
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
|
|
@@ -146,6 +146,22 @@
|
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
|
|
149
|
+
<h5>Example</h5>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
154
|
+
const { ProviderBaseUrlRegExp } = zondy.cesium.util
|
|
155
|
+
|
|
156
|
+
// ES6引入方式
|
|
157
|
+
import { ProviderBaseUrlRegExp } from "@mapgis/webclient-cesium-plugin"
|
|
158
|
+
|
|
159
|
+
const baseUrl = ProviderBaseUrlRegExp.matchString(
|
|
160
|
+
"http://localhost:6163/igs/rest/services/World/MapServer?f=json"
|
|
161
|
+
)</code></pre>
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
149
165
|
</dd>
|
|
150
166
|
|
|
151
167
|
|
|
@@ -179,7 +195,7 @@
|
|
|
179
195
|
|
|
180
196
|
|
|
181
197
|
<div class="tag-source">
|
|
182
|
-
util/ProviderBaseUrlRegExp.js, line
|
|
198
|
+
util/ProviderBaseUrlRegExp.js, line 24
|
|
183
199
|
</div>
|
|
184
200
|
|
|
185
201
|
</div>
|
|
@@ -250,7 +266,7 @@
|
|
|
250
266
|
|
|
251
267
|
|
|
252
268
|
<div class="tag-source">
|
|
253
|
-
util/ProviderBaseUrlRegExp.js, line
|
|
269
|
+
util/ProviderBaseUrlRegExp.js, line 139
|
|
254
270
|
</div>
|
|
255
271
|
|
|
256
272
|
</div>
|
|
@@ -399,7 +415,7 @@ https://shimo.im/sheets/zdkyd7WLLvTGogq6/skgBW</td>
|
|
|
399
415
|
|
|
400
416
|
|
|
401
417
|
<footer>
|
|
402
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
418
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
403
419
|
</footer>
|
|
404
420
|
</div>
|
|
405
421
|
</div>
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
|
|
208
|
-
<p>Cesium Viewer实例</p></td>
|
|
208
|
+
<p>Cesium Viewer 实例</p></td>
|
|
209
209
|
</tr>
|
|
210
210
|
|
|
211
211
|
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
|
|
276
276
|
|
|
277
277
|
|
|
278
|
-
<p
|
|
278
|
+
<p>是否显示积水效果</p></td>
|
|
279
279
|
</tr>
|
|
280
280
|
|
|
281
281
|
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
|
|
312
312
|
|
|
313
313
|
|
|
314
|
-
<p>积水整体透明度,取值范围[0,1]
|
|
314
|
+
<p>积水整体透明度,取值范围 <code>[0, 1]</code></p></td>
|
|
315
315
|
</tr>
|
|
316
316
|
|
|
317
317
|
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
|
|
348
348
|
|
|
349
349
|
|
|
350
|
-
<p>水坑大小,取值范围[0,1]
|
|
350
|
+
<p>水坑大小,取值范围 <code>[0, 1]</code></p></td>
|
|
351
351
|
</tr>
|
|
352
352
|
|
|
353
353
|
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
|
|
420
420
|
|
|
421
421
|
|
|
422
|
-
<p>涟漪数量,取值范围[0,1]
|
|
422
|
+
<p>涟漪数量,取值范围 <code>[0, 1]</code></p></td>
|
|
423
423
|
</tr>
|
|
424
424
|
|
|
425
425
|
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
|
|
456
456
|
|
|
457
457
|
|
|
458
|
-
<p>涟漪大小,取值范围[0,1]
|
|
458
|
+
<p>涟漪大小,取值范围 <code>[0, 1]</code></p></td>
|
|
459
459
|
</tr>
|
|
460
460
|
|
|
461
461
|
|
|
@@ -546,7 +546,28 @@
|
|
|
546
546
|
|
|
547
547
|
|
|
548
548
|
|
|
549
|
-
<pre class="prettyprint"><code>const puddle = new Puddle( {
|
|
550
549
|
viewer,
|
|
551
550
|
rectangle,
|
|
552
551
|
show: true, // 显示积水效果
|
|
553
552
|
alpha: 0.7, // 设置积水透明度为0.7
|
|
554
553
|
puddleSize: 0.8, // 设置水坑大小为0.8
|
|
555
554
|
showRipple: true, // 开启涟漪效果
|
|
556
555
|
rippleNumber: 0.6, // 设置涟漪数量为0.6
|
|
557
556
|
rippleSize: 0.4 // 设置涟漪大小为0.4
|
|
557
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
558
|
+
const { Puddle } = zondy.cesium
|
|
559
|
+
|
|
560
|
+
// ES6引入方式
|
|
561
|
+
import { Puddle } from "@mapgis/webclient-cesium-plugin"
|
|
562
|
+
|
|
563
|
+
const puddle = new Puddle({
|
|
564
|
+
viewer,
|
|
565
|
+
rectangle,
|
|
566
|
+
show: true,
|
|
567
|
+
alpha: 0.7,
|
|
568
|
+
puddleSize: 0.8,
|
|
569
|
+
showRipple: true,
|
|
570
|
+
rippleNumber: 0.6,
|
|
571
|
+
rippleSize: 0.4
|
|
572
|
+
})
|
|
573
|
+
|
|
574
|
+
// 动态修改积水参数
|
|
575
|
+
puddle.alpha = 0.9
|
|
576
|
+
puddle.puddleSize = 1.0
|
|
577
|
+
puddle.show = false
|
|
578
|
+
puddle.reflection.alpha = 1.0</code></pre>
|
|
558
579
|
|
|
559
580
|
|
|
560
581
|
|
|
@@ -947,7 +968,7 @@
|
|
|
947
968
|
|
|
948
969
|
|
|
949
970
|
<div class="tag-source">
|
|
950
|
-
engineExtensions/effects/puddle/Puddle.js, line
|
|
971
|
+
engineExtensions/effects/puddle/Puddle.js, line 316
|
|
951
972
|
</div>
|
|
952
973
|
|
|
953
974
|
</div>
|
|
@@ -1029,7 +1050,7 @@
|
|
|
1029
1050
|
|
|
1030
1051
|
|
|
1031
1052
|
<footer>
|
|
1032
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1053
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
1033
1054
|
</footer>
|
|
1034
1055
|
</div>
|
|
1035
1056
|
</div>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<div class="nameContainer">
|
|
84
84
|
<h4 class="name" id="RadarMaterialProperty">
|
|
85
85
|
|
|
86
|
-
new RadarMaterialProperty<span class="signature">(options)</span>
|
|
86
|
+
new RadarMaterialProperty<span class="signature">(options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
87
87
|
</h4>
|
|
88
88
|
|
|
89
89
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>雷达扫描材质属性。</p>
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
|
|
@@ -146,12 +146,7 @@
|
|
|
146
146
|
|
|
147
147
|
<td class="description last">
|
|
148
148
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<p>附加属性</p>
|
|
149
|
+
<p>创建雷达扫描材质属性的参数。</p>
|
|
155
150
|
|
|
156
151
|
|
|
157
152
|
<table class="params">
|
|
@@ -164,6 +159,8 @@
|
|
|
164
159
|
<th>Type</th>
|
|
165
160
|
|
|
166
161
|
|
|
162
|
+
<th>Default</th>
|
|
163
|
+
|
|
167
164
|
|
|
168
165
|
<th class="last">Description</th>
|
|
169
166
|
</tr>
|
|
@@ -187,6 +184,10 @@
|
|
|
187
184
|
</td>
|
|
188
185
|
|
|
189
186
|
|
|
187
|
+
<td class="default">
|
|
188
|
+
|
|
189
|
+
</td>
|
|
190
|
+
|
|
190
191
|
|
|
191
192
|
<td class="description last">
|
|
192
193
|
|
|
@@ -197,20 +198,14 @@
|
|
|
197
198
|
|
|
198
199
|
|
|
199
200
|
|
|
200
|
-
<p
|
|
201
|
-
</tr>
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
</tbody>
|
|
205
|
-
</table>
|
|
206
|
-
</td>
|
|
201
|
+
<p>扫描颜色,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html?classFilter=Color' target='_blank'>详见Cesium.Color</a>。</p></td>
|
|
207
202
|
</tr>
|
|
208
203
|
|
|
209
204
|
|
|
210
205
|
|
|
211
206
|
<tr>
|
|
212
207
|
|
|
213
|
-
<td class="name"><code>
|
|
208
|
+
<td class="name"><code>speed</code></td>
|
|
214
209
|
|
|
215
210
|
|
|
216
211
|
<td class="type">
|
|
@@ -223,6 +218,12 @@
|
|
|
223
218
|
</td>
|
|
224
219
|
|
|
225
220
|
|
|
221
|
+
<td class="default">
|
|
222
|
+
|
|
223
|
+
1
|
|
224
|
+
|
|
225
|
+
</td>
|
|
226
|
+
|
|
226
227
|
|
|
227
228
|
<td class="description last">
|
|
228
229
|
|
|
@@ -233,7 +234,13 @@
|
|
|
233
234
|
|
|
234
235
|
|
|
235
236
|
|
|
236
|
-
<p
|
|
237
|
+
<p>扫描速度因子,值越大扫描动画越快。</p></td>
|
|
238
|
+
</tr>
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
</tbody>
|
|
242
|
+
</table>
|
|
243
|
+
</td>
|
|
237
244
|
</tr>
|
|
238
245
|
|
|
239
246
|
|
|
@@ -276,7 +283,55 @@
|
|
|
276
283
|
|
|
277
284
|
|
|
278
285
|
|
|
286
|
+
<h5>Returns:</h5>
|
|
279
287
|
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
<table class="params">
|
|
291
|
+
<thead>
|
|
292
|
+
<tr>
|
|
293
|
+
|
|
294
|
+
<th>Type</th>
|
|
295
|
+
<th class="last">Description</th>
|
|
296
|
+
</tr>
|
|
297
|
+
</thead>
|
|
298
|
+
<tbody>
|
|
299
|
+
|
|
300
|
+
<tr>
|
|
301
|
+
|
|
302
|
+
<td class="type">
|
|
303
|
+
|
|
304
|
+
Object
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
</td>
|
|
308
|
+
<td class="description last">返回雷达扫描材质属性实例。</td>
|
|
309
|
+
</tr>
|
|
310
|
+
|
|
311
|
+
</tbody>
|
|
312
|
+
</table>
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
<h5>Example</h5>
|
|
318
|
+
|
|
319
|
+
<p class="code-caption"><h7>创建雷达扫描材质属性</h7></p>
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
324
|
+
const { RadarMaterialProperty } = zondy.cesium
|
|
325
|
+
|
|
326
|
+
// ES6引入方式
|
|
327
|
+
import { RadarMaterialProperty } from "@mapgis/webclient-cesium-plugin"
|
|
328
|
+
|
|
329
|
+
const material = new RadarMaterialProperty({
|
|
330
|
+
color: Cesium.Color.LIME,
|
|
331
|
+
speed: 0.8
|
|
332
|
+
})</code></pre>
|
|
333
|
+
|
|
334
|
+
|
|
280
335
|
|
|
281
336
|
</dd>
|
|
282
337
|
|
|
@@ -310,7 +365,7 @@
|
|
|
310
365
|
|
|
311
366
|
|
|
312
367
|
<footer>
|
|
313
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
368
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
314
369
|
</footer>
|
|
315
370
|
</div>
|
|
316
371
|
</div>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>画布或 SVG 导出工具,用于将当前渲染结果转换为图片、画布或 Base64 数据。</p>
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
|
|
@@ -148,16 +148,19 @@
|
|
|
148
148
|
|
|
149
149
|
<h5>Example</h5>
|
|
150
150
|
|
|
151
|
+
<p class="code-caption"><h7>导出场景截图</h7></p>
|
|
152
|
+
|
|
151
153
|
|
|
152
154
|
|
|
153
155
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
154
156
|
const { ReImg } = zondy.cesium
|
|
157
|
+
|
|
155
158
|
// ES6引入方式
|
|
156
|
-
import { ReImg } from
|
|
159
|
+
import { ReImg } from '@mapgis/webclient-cesium-plugin'
|
|
157
160
|
|
|
158
161
|
viewer.render()
|
|
159
|
-
const
|
|
160
|
-
|
|
162
|
+
const result = ReImg.fromCanvas(viewer.canvas)
|
|
163
|
+
result.downloadPng('scene.png')</code></pre>
|
|
161
164
|
|
|
162
165
|
|
|
163
166
|
|
|
@@ -194,7 +197,7 @@ res.downloadPng()</code></pre>
|
|
|
194
197
|
|
|
195
198
|
|
|
196
199
|
<div class="tag-source">
|
|
197
|
-
engineExtensions/tools/ReImg.js, line
|
|
200
|
+
engineExtensions/tools/ReImg.js, line 45
|
|
198
201
|
</div>
|
|
199
202
|
|
|
200
203
|
</div>
|
|
@@ -205,7 +208,7 @@ res.downloadPng()</code></pre>
|
|
|
205
208
|
|
|
206
209
|
|
|
207
210
|
<div class="description">
|
|
208
|
-
<p>从
|
|
211
|
+
<p>从 Canvas 创建导出处理器。</p>
|
|
209
212
|
</div>
|
|
210
213
|
|
|
211
214
|
|
|
@@ -242,7 +245,7 @@ res.downloadPng()</code></pre>
|
|
|
242
245
|
<td class="type">
|
|
243
246
|
|
|
244
247
|
|
|
245
|
-
<span class="param-type">
|
|
248
|
+
<span class="param-type">HTMLCanvasElement</span>
|
|
246
249
|
|
|
247
250
|
|
|
248
251
|
|
|
@@ -252,7 +255,7 @@ res.downloadPng()</code></pre>
|
|
|
252
255
|
|
|
253
256
|
<td class="description last">
|
|
254
257
|
|
|
255
|
-
|
|
258
|
+
<p>要导出的画布对象。</p></td>
|
|
256
259
|
</tr>
|
|
257
260
|
|
|
258
261
|
|
|
@@ -317,7 +320,7 @@ res.downloadPng()</code></pre>
|
|
|
317
320
|
|
|
318
321
|
|
|
319
322
|
</td>
|
|
320
|
-
<td class="description last"
|
|
323
|
+
<td class="description last">导出处理器,包含 <code>toBase64</code>、<code>toImg</code>、<code>toCanvas</code>、<code>toPng</code>、<code>toJpeg</code> 和 <code>downloadPng</code> 方法。</td>
|
|
321
324
|
</tr>
|
|
322
325
|
|
|
323
326
|
</tbody>
|
|
@@ -328,17 +331,163 @@ res.downloadPng()</code></pre>
|
|
|
328
331
|
|
|
329
332
|
<h5>Example</h5>
|
|
330
333
|
|
|
334
|
+
<p class="code-caption"><h7>从 Canvas 导出图片</h7></p>
|
|
335
|
+
|
|
331
336
|
|
|
332
337
|
|
|
333
|
-
<pre class="prettyprint"><code>//
|
|
334
|
-
viewer.render()
|
|
335
|
-
ReImg.fromCanvas(viewer.canvas)
|
|
338
|
+
<pre class="prettyprint"><code>// 获取导出处理器
|
|
339
|
+
viewer.render()
|
|
340
|
+
const result = ReImg.fromCanvas(viewer.canvas)
|
|
336
341
|
|
|
337
342
|
// 将画布保存为图片
|
|
338
|
-
|
|
339
|
-
|
|
343
|
+
result.downloadPng(fileName)</code></pre>
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
</dd>
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
<dt>
|
|
352
|
+
<div class="nameContainer">
|
|
353
|
+
<h4 class="name" id=".fromSvg">
|
|
354
|
+
|
|
355
|
+
ReImg.fromSvg<span class="signature">(svgElement)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
356
|
+
</h4>
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
<div class="tag-source">
|
|
360
|
+
engineExtensions/tools/ReImg.js, line 26
|
|
361
|
+
</div>
|
|
362
|
+
|
|
363
|
+
</div>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
</dt>
|
|
367
|
+
<dd>
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
<div class="description">
|
|
371
|
+
<p>从 SVG 元素创建导出处理器。</p>
|
|
372
|
+
</div>
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
340
376
|
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
341
381
|
|
|
382
|
+
<table class="params">
|
|
383
|
+
<thead>
|
|
384
|
+
<tr>
|
|
385
|
+
|
|
386
|
+
<th>Name</th>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
<th>Type</th>
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
<th class="last">Description</th>
|
|
394
|
+
</tr>
|
|
395
|
+
</thead>
|
|
396
|
+
|
|
397
|
+
<tbody>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
<tr>
|
|
401
|
+
|
|
402
|
+
<td class="name"><code>svgElement</code></td>
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
<td class="type">
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
<span class="param-type">SVGElement</span>
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
</td>
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
<td class="description last">
|
|
417
|
+
|
|
418
|
+
<p>要导出的 SVG 根节点。</p></td>
|
|
419
|
+
</tr>
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
</tbody>
|
|
423
|
+
</table>
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
<dl class="details">
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
</dl>
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
<h5>Returns:</h5>
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
<table class="params">
|
|
466
|
+
<thead>
|
|
467
|
+
<tr>
|
|
468
|
+
|
|
469
|
+
<th>Type</th>
|
|
470
|
+
<th class="last">Description</th>
|
|
471
|
+
</tr>
|
|
472
|
+
</thead>
|
|
473
|
+
<tbody>
|
|
474
|
+
|
|
475
|
+
<tr>
|
|
476
|
+
|
|
477
|
+
<td class="type">
|
|
478
|
+
|
|
479
|
+
Object
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
</td>
|
|
483
|
+
<td class="description last">导出处理器,包含 <code>toBase64</code>、<code>toImg</code>、<code>toCanvas</code>、<code>toPng</code>、<code>toJpeg</code> 和 <code>downloadPng</code> 方法。</td>
|
|
484
|
+
</tr>
|
|
485
|
+
|
|
486
|
+
</tbody>
|
|
487
|
+
</table>
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
342
491
|
|
|
343
492
|
</dd>
|
|
344
493
|
|
|
@@ -356,7 +505,7 @@ ReImg.fromCanvas(viewer.canvas).downloadPng(fileName);</code></pre>
|
|
|
356
505
|
|
|
357
506
|
|
|
358
507
|
<footer>
|
|
359
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
508
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
360
509
|
</footer>
|
|
361
510
|
</div>
|
|
362
511
|
</div>
|