@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.
Files changed (227) hide show
  1. package/README.md +280 -482
  2. package/dist/esm/commonjsHelpers.js +1 -0
  3. package/dist/esm/s3m.js +1 -0
  4. package/dist/esm/webclient-cesium-plugin.js +1 -0
  5. package/dist/umd/webclient-cesium-plugin.min.js +1 -0
  6. package/{documention → documentation}/AlgorithmLib.html +169 -149
  7. package/{documention → documentation}/AngulationTool.html +85 -51
  8. package/{documention → documentation}/AnimationTool.html +30 -30
  9. package/{documention → documentation}/ArcGISMapServerImageryProvider.html +9 -13
  10. package/{documention → documentation}/ArcGISMapServerSingleImageryProvider.html +90 -30
  11. package/{documention → documentation}/ArcGISTileServerImageryProvider.html +17 -17
  12. package/{documention → documentation}/ArcGISVectorTileImageryProvider.html +21 -8
  13. package/{documention → documentation}/BaseImageryProvider.html +2 -2
  14. package/{documention → documentation}/Cesium.Material.html +2 -2
  15. package/{documention → documentation}/Cesium.Viewer.html +5 -5
  16. package/{documention → documentation}/Cesium3DTileset.html +43 -25
  17. package/{documention → documentation}/CesiumHeatmap.html +22 -19
  18. package/{documention/S3MTileset.html → documentation/CesiumNavigation.html} +52 -85
  19. package/{documention → documentation}/CesiumTerrainProvider.html +55 -15
  20. package/{documention/OpenWeatherImageryProvider.html → documentation/CircleWaveMaterialProperty.html} +75 -95
  21. package/{documention → documentation}/CollisionDetectionByRender.html +245 -88
  22. package/{documention → documentation}/CompatibleFunc.html +24 -33
  23. package/{documention → documentation}/CustomPrimitive.html +3 -5
  24. package/{documention → documentation}/CustomProjection.html +3 -3
  25. package/{documention → documentation}/CustomTilingScheme.html +35 -36
  26. package/{documention → documentation}/CutFillAnalysis.html +59 -27
  27. package/{documention → documentation}/CuttingTool.html +198 -103
  28. package/{documention → documentation}/Deferred.html +2 -2
  29. package/{documention → documentation}/DrawElement.html +418 -34
  30. package/{documention → documentation}/DrawTool.html +81 -29
  31. package/documentation/EditTool.html +2819 -0
  32. package/{documention → documentation}/FirstPersonPerspective.html +18 -10
  33. package/{documention → documentation}/FloodAnalysis.html +93 -23
  34. package/{documention → documentation}/FloodAnalysisReflection.html +18 -44
  35. package/documentation/FlowParticle.html +863 -0
  36. package/{documention → documentation}/Fluid.html +473 -74
  37. package/{documention → documentation}/FluidFoam.html +36 -16
  38. package/{documention → documentation}/FluidReflection.html +68 -15
  39. package/{documention → documentation}/FluidShadow.html +67 -14
  40. package/{documention → documentation}/FluidSourceCollection.html +14 -7
  41. package/{documention → documentation}/FluidSpecular.html +33 -14
  42. package/documentation/FluidSurfaceDistortion.html +682 -0
  43. package/documentation/FluidSurfaceFoam.html +1006 -0
  44. package/{documention → documentation}/FollowPerspective.html +15 -7
  45. package/{documention → documentation}/GeoJSONLayerUtil.html +38 -10
  46. package/documentation/GeoJSONLayerView.html +1353 -0
  47. package/{documention → documentation}/GlobeIndependentTranslucency.html +89 -6
  48. package/{documention → documentation}/GodPerspective.html +14 -6
  49. package/{documention → documentation}/Graphic.html +1053 -1042
  50. package/{documention → documentation}/GraphicTransformTool.html +65 -23
  51. package/{documention → documentation}/GraphicsLayer.html +359 -156
  52. package/{documention → documentation}/GraphicsLayerUtil.html +28 -10
  53. package/documentation/GraphicsLayerView.html +759 -0
  54. package/{documention/EditTool.html → documentation/HashMap.html} +253 -418
  55. package/{documention → documentation}/HeightLimited.html +54 -21
  56. package/documentation/IGSFeatureLayerUtil.html +840 -0
  57. package/documentation/IGSFeatureLayerView.html +1348 -0
  58. package/documentation/IGSMapImageLayerUtil.html +855 -0
  59. package/{documention/IGSFeatureLayerUtil.html → documentation/IGSMapImageLayerView.html} +68 -46
  60. package/documentation/IGSTileLayerView.html +658 -0
  61. package/{documention → documentation}/ISSceneLayerUtil.html +3 -3
  62. package/{documention → documentation}/KeyboardCameraController.html +54 -6
  63. package/documentation/LightningStorm.html +2073 -0
  64. package/documentation/MapGISClusterPrimitiveCollection.html +1050 -0
  65. package/{documention → documentation}/MapGISDynamicLabelCollection.html +370 -178
  66. package/{documention → documentation}/MapGISFeatureGridCollection.html +123 -89
  67. package/{documention → documentation}/MapGISImageServerImageryProvider.html +93 -71
  68. package/{documention → documentation}/MapGISImageServerSingleImageryProvider.html +140 -92
  69. package/{documention → documentation}/MapGISM3DSet.html +49 -33
  70. package/{documention → documentation}/MapGISMapServerImageryProvider.html +78 -87
  71. package/{documention → documentation}/MapGISMapServerSingleImageryProvider.html +111 -43
  72. package/{documention → documentation}/MapGISTerrainProvider.html +268 -208
  73. package/{documention → documentation}/MapGISTerrainService.html +124 -82
  74. package/{documention → documentation}/MapGISTileAvailability.html +104 -47
  75. package/{documention → documentation}/MapGISTileServerImageryProvider.html +76 -83
  76. package/{documention → documentation}/MapGISVectorTileImageryProvider.html +135 -115
  77. package/{documention → documentation}/MeasureAreaTool.html +53 -14
  78. package/{documention → documentation}/MeasureLengthTool.html +17 -14
  79. package/{documention → documentation}/MeasureSlopeTool.html +73 -34
  80. package/{documention/FlowParticle.html → documentation/ModelEditor.html} +132 -116
  81. package/{documention → documentation}/ModelFilterTool.html +27 -32
  82. package/{documention → documentation}/ModelTransformTool.html +195 -110
  83. package/{documention → documentation}/NavigationControl.html +25 -5
  84. package/{documention → documentation}/NavigationTool.html +36 -14
  85. package/{documention → documentation}/NormalPerspective.html +33 -7
  86. package/documentation/OpenWeatherImageryProvider.html +1133 -0
  87. package/{documention → documentation}/PointFluidSource.html +22 -13
  88. package/{documention → documentation}/PolylineTrailLinkMaterialProperty.html +104 -20
  89. package/{documention → documentation}/Popup.html +246 -63
  90. package/{documention/CesiumNavigation.html → documentation/PostProcessShaderBuilder.html} +10 -54
  91. package/{documention → documentation}/PostProcessStageLibrary.html +3127 -121
  92. package/{documention → documentation}/Promise.html +6 -6
  93. package/{documention → documentation}/ProviderBaseUrlRegExp.html +20 -4
  94. package/{documention → documentation}/Puddle.html +30 -9
  95. package/{documention → documentation}/RadarMaterialProperty.html +73 -18
  96. package/{documention → documentation}/ReImg.html +164 -15
  97. package/{documention → documentation}/RenderUtil.html +158 -6
  98. package/{documention → documentation}/ResetViewNavigationControl.html +28 -8
  99. package/{documention → documentation}/RiverGeometry.html +7 -7
  100. package/{documention → documentation}/RoamParticle.html +86 -79
  101. package/{documention → documentation}/RouteAnimationControl.html +37 -15
  102. package/{documention → documentation}/RouteAnimationLabel.html +39 -12
  103. package/{documention → documentation}/RouteAnimationModel.html +43 -16
  104. package/{documention → documentation}/RouteAnimationPath.html +156 -18
  105. package/{documention → documentation}/RouteAnimationPerspective.html +12 -3
  106. package/{documention → documentation}/RouteAnimationTool.html +244 -24
  107. package/documentation/S3MTileset.html +570 -0
  108. package/{documention → documentation}/SSR.html +20 -39
  109. package/{documention → documentation}/SceneView.html +615 -419
  110. package/documentation/SceneViewUtil.html +1253 -0
  111. package/documentation/Screenshot.html +964 -0
  112. package/{documention → documentation}/SelectTool.html +31 -77
  113. package/{documention → documentation}/ShadowRateAnalysis.html +236 -54
  114. package/{documention → documentation}/ShadowRateDrawCommand.html +18 -6
  115. package/{documention → documentation}/SingleImageryProvider.html +32 -10
  116. package/{documention → documentation}/SketchEditor.html +280 -127
  117. package/documentation/SkyLineAnalysis.html +576 -0
  118. package/{documention → documentation}/StableParticle.html +165 -46
  119. package/{documention → documentation}/Style.html +249 -249
  120. package/{documention → documentation}/TerrainAnalyse.html +391 -105
  121. package/{documention → documentation}/TerrainExcavateTool.html +99 -3
  122. package/{documention → documentation}/TerrainProfile.html +198 -56
  123. package/{documention → documentation}/ThemeManager.html +93 -42
  124. package/{documention → documentation}/Tooltip.html +35 -18
  125. package/documentation/TransformTool.html +1010 -0
  126. package/{documention → documentation}/TriangulationTool.html +122 -83
  127. package/documentation/UnderfluidCaustic.html +843 -0
  128. package/documentation/UnderfluidDistortion.html +600 -0
  129. package/documentation/UnderfluidFog.html +843 -0
  130. package/documentation/UnderfluidGodRay.html +843 -0
  131. package/documentation/UnderwaterCaustic.html +867 -0
  132. package/documentation/UnderwaterDistortion.html +578 -0
  133. package/documentation/UnderwaterFog.html +867 -0
  134. package/documentation/UnderwaterGodRay.html +821 -0
  135. package/{documention → documentation}/UrlTemplateImageryProvider.html +21 -9
  136. package/{documention → documentation}/UserInterfaceControl.html +28 -9
  137. package/documentation/VectorTileLayerUtil.html +1364 -0
  138. package/{documention → documentation}/VisiblityAnalysis.html +15 -12
  139. package/{documention → documentation}/VolumeCloud.html +113 -21
  140. package/{documention → documentation}/VolumeFluidSource.html +24 -8
  141. package/{documention → documentation}/WFSLayerUtil.html +39 -10
  142. package/documentation/WFSLayerView.html +1353 -0
  143. package/documentation/WMSLayerUtil.html +879 -0
  144. package/documentation/WMTSLayerUtil.html +877 -0
  145. package/documentation/WaterDepth.html +583 -0
  146. package/{documention → documentation}/WaterReflection.html +29 -26
  147. package/documentation/WaterSurface.html +2555 -0
  148. package/{documention/Underwater.html → documentation/WaterSurfaceDistortion.html} +79 -81
  149. package/documentation/WaterSurfaceFoam.html +1029 -0
  150. package/documentation/WaterSurfaceSSR.html +867 -0
  151. package/{documention → documentation}/WebMapServiceImageryProvider.html +8 -12
  152. package/{documention → documentation}/WebMapServiceSingleImageryProvider.html +94 -32
  153. package/{documention → documentation}/WebMapTileServiceImageryProvider.html +10 -15
  154. package/documentation/WebTileLayerUtil.html +877 -0
  155. package/{documention → documentation}/Wind3D.html +133 -54
  156. package/{documention → documentation}/ZoomNavigationControl.html +145 -9
  157. package/documentation/fonts/glyphicons-halflings-regular.svg +543 -0
  158. package/{documention → documentation}/global.html +14130 -2719
  159. package/{documention → documentation}/index.html +1 -1
  160. package/{documention → documentation}/initializeOptions.html +2 -2
  161. 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
  162. 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
  163. package/{documention → documentation}/module.exports_module.exports.html +2 -2
  164. package/{documention → documentation}/nav.html +3267 -1392
  165. package/documentation/nav.json +320 -0
  166. package/documentation/styles/adminlte/AdminLTE.min.css +4966 -0
  167. package/documentation/styles/adminlte/skin-blue.min.css +135 -0
  168. package/documentation/styles/bootstrap.min.css +7005 -0
  169. package/documentation/styles/common.css +173 -0
  170. package/documentation/styles/examples.css +119 -0
  171. package/{documention → documentation}/styles/font-awesome.css +692 -687
  172. package/documentation/styles/header.css +558 -0
  173. package/documentation/styles/jaguar.css +551 -0
  174. package/{documention → documentation}/styles/prettify-tomorrow.css +59 -28
  175. package/{documention → documentation}/styles/style.customize.css +83 -99
  176. package/package.json +42 -22
  177. package/dist/es5/webclient-cesium-plugin.min.js +0 -77
  178. package/dist/es5/webclient-common.min.js +0 -159
  179. package/dist/webclient-cesium-plugin-es6.min.js +0 -77
  180. package/documention/CircleWaveMaterialProperty.html +0 -382
  181. package/documention/DynamicEntityVisualizer.html +0 -348
  182. package/documention/DynamicLabelLayer.html +0 -1841
  183. package/documention/GroundPrimitiveLayer.html +0 -1675
  184. package/documention/HashMap.html +0 -4197
  185. package/documention/ModelEditor.html +0 -374
  186. package/documention/SceneViewCesium.html +0 -5544
  187. package/documention/Screenshot.html +0 -773
  188. package/documention/SketchEditorCesium.html +0 -1571
  189. package/documention/createColorTexture.html +0 -369
  190. package/documention/fonts/glyphicons-halflings-regular.svg +0 -288
  191. package/documention/isCounterClockwise.html +0 -760
  192. package/documention/scripts/app.min.js +0 -1
  193. package/documention/scripts/jquery.min.map +0 -1
  194. package/documention/scripts/search.js +0 -20
  195. package/documention/scripts/sideBar.js +0 -228
  196. package/documention/scripts/underscore-min.map +0 -1
  197. package/documention/styles/adminlte/AdminLTE.min.css +0 -7
  198. package/documention/styles/adminlte/skin-blue.min.css +0 -1
  199. package/documention/styles/anchor.png +0 -0
  200. package/documention/styles/app.min.css +0 -1
  201. package/documention/styles/bootstrap.min.css +0 -6
  202. package/documention/styles/c.png +0 -0
  203. package/documention/styles/common.css +0 -175
  204. package/documention/styles/examples.css +0 -116
  205. package/documention/styles/header.css +0 -556
  206. package/documention/styles/iframe.css +0 -29
  207. package/documention/styles/jaguar.css +0 -553
  208. package/documention/styles/m.png +0 -0
  209. package/documention/styles/reset.css +0 -44
  210. package/documention/styles/up-arrow.png +0 -0
  211. package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +0 -162
  212. /package/{documention → documentation}/fonts/fontawesome-webfont.woff2 +0 -0
  213. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.eot +0 -0
  214. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.ttf +0 -0
  215. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff +0 -0
  216. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff2 +0 -0
  217. /package/{documention → documentation}/scripts/adminlte/app.min.js +0 -0
  218. /package/{documention → documentation}/scripts/bootstrap.min.js +0 -0
  219. /package/{documention → documentation}/scripts/jquery.min.js +0 -0
  220. /package/{documention → documentation}/scripts/linenumber.js +0 -0
  221. /package/{documention → documentation}/scripts/main.js +0 -0
  222. /package/{documention → documentation}/scripts/prettify/Apache-License-2.0.txt +0 -0
  223. /package/{documention → documentation}/scripts/prettify/lang-css.js +0 -0
  224. /package/{documention → documentation}/scripts/prettify/prettify.js +0 -0
  225. /package/{documention → documentation}/scripts/underscore-min.js +0 -0
  226. /package/{documention → documentation}/styles/adminlte/font-awesome.min.css +0 -0
  227. /package/{documention → documentation}/styles/prettify-jsdoc.css +0 -0
@@ -83,7 +83,7 @@
83
83
  <div class="nameContainer">
84
84
  <h4 class="name" id="MapGISTerrainService">
85
85
 
86
- new MapGISTerrainService<span class="signature">(options)</span>
86
+ new MapGISTerrainService<span class="signature">(<span class="optional">options</span>)</span>
87
87
  </h4>
88
88
 
89
89
 
@@ -94,17 +94,15 @@
94
94
  </div>
95
95
 
96
96
 
97
- <p class="summary"><h5>支持如下方法:</h5>
98
- <a href='#fromJSON'>[1、通过JSON构造地形服务对象]</a><br/>
99
- <a href='#toJSON'>[1、将地形服务对象导出为JSON对象]</a><br/>
100
- <a href='#clone'>[1、克隆并返回一个新的地形服务对象]</a></p>
101
-
102
97
  </dt>
103
98
  <dd>
104
99
 
105
100
 
106
101
  <div class="description">
107
- <p>MapGIS地形服务对象</p>
102
+ <p>MapGIS 单个地形服务描述对象。</p>
103
+ <p>该类用于描述单个 DEM 地形服务的地址、范围、法向量请求开关和显示级别限制,
104
+ 是 <code>MapGISTerrainProvider</code> 管理多地形来源时的基础数据结构。支持 JSON 序列化、
105
+ 反序列化和克隆,便于在配置持久化与运行时切换之间复用同一份参数。</p>
108
106
  </div>
109
107
 
110
108
 
@@ -125,6 +123,8 @@
125
123
  <th>Type</th>
126
124
 
127
125
 
126
+ <th>Default</th>
127
+
128
128
 
129
129
  <th class="last">Description</th>
130
130
  </tr>
@@ -148,10 +148,23 @@
148
148
  </td>
149
149
 
150
150
 
151
+ <td class="default">
152
+
153
+ {}
154
+
155
+ </td>
156
+
151
157
 
152
158
  <td class="description last">
153
159
 
160
+
161
+ <span class="optional"> 可选</span>
162
+
163
+
164
+
165
+
154
166
 
167
+ <p>构造参数。</p>
155
168
 
156
169
 
157
170
  <table class="params">
@@ -203,7 +216,7 @@
203
216
 
204
217
 
205
218
 
206
- <p>地形服务id,没有则给一个随机Id</p></td>
219
+ <p>地形服务标识。未传入时自动生成随机 ID。</p></td>
207
220
  </tr>
208
221
 
209
222
 
@@ -242,11 +255,7 @@
242
255
 
243
256
 
244
257
 
245
- <p>服务基地址,
246
- 当仅加载一个DEM地形服务时,使用该初始化参数,当加载多个DEM地形服务时,请使用serviceList初始化参数,<br>
247
- 基地址格式为:<br>
248
- IGS1.0: http://{ip}:{port}/igs/rest/g3d/{folder}:{serviceName}/GetTerrain<br>
249
- IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/layers/{layerId}/terrains</p></td>
258
+ <p>地形服务地址。单服务模式下直接使用该地址,多服务模式下由 <code>MapGISTerrainProvider.serviceList</code> 统一管理。</p></td>
250
259
  </tr>
251
260
 
252
261
 
@@ -282,7 +291,7 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
282
291
 
283
292
 
284
293
 
285
- <p>地形服务是否显示</p></td>
294
+ <p>是否参与当前地形显示与可用性计算。</p></td>
286
295
  </tr>
287
296
 
288
297
 
@@ -318,7 +327,7 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
318
327
 
319
328
 
320
329
 
321
- <p>地形服务最大显示级数</p></td>
330
+ <p>当前地形服务允许响应的最大级别。</p></td>
322
331
  </tr>
323
332
 
324
333
 
@@ -354,7 +363,7 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
354
363
 
355
364
 
356
365
 
357
- <p>地形服务是否请求法向量</p></td>
366
+ <p>是否请求当前地形服务的法向量数据。</p></td>
358
367
  </tr>
359
368
 
360
369
 
@@ -390,7 +399,7 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
390
399
 
391
400
 
392
401
 
393
- <p>地形服务二维范围</p></td>
402
+ <p>地形服务的二维范围。</p></td>
394
403
  </tr>
395
404
 
396
405
 
@@ -426,7 +435,7 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
426
435
 
427
436
 
428
437
 
429
- <p>地形服务三维范围</p></td>
438
+ <p>地形服务的三维范围。</p></td>
430
439
  </tr>
431
440
 
432
441
 
@@ -462,7 +471,7 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
462
471
 
463
472
 
464
473
 
465
- <p>地形服务的平铺方案,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html?classFilter=TilingScheme' target='_blank'>详见Cesium.TilingScheme</a></p></td>
474
+ <p>当前地形服务的瓦片平铺方案。</p></td>
466
475
  </tr>
467
476
 
468
477
 
@@ -513,6 +522,21 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
513
522
 
514
523
 
515
524
 
525
+ <h5>Example</h5>
526
+
527
+
528
+
529
+ <pre class="prettyprint"><code>// ES5引入方式
530
+ const { MapGISTerrainService } = zondy.cesium
531
+
532
+ // ES6引入方式
533
+ import { MapGISTerrainService } from '@mapgis/webclient-cesium-plugin'
534
+
535
+ const service = MapGISTerrainService.fromJSON(json)
536
+ const cloned = service.clone()</code></pre>
537
+
538
+
539
+
516
540
  </dd>
517
541
 
518
542
 
@@ -909,14 +933,14 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
909
933
 
910
934
  <dt>
911
935
  <div class="nameContainer">
912
- <h4 class="name" id=".fromJSON">
936
+ <h4 class="name" id="clone">
913
937
 
914
- MapGISTerrainService.fromJSON<span class="signature">(json)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="MapGISTerrainService.html">MapGISTerrainService</a>}</span>
938
+ clone<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="MapGISTerrainService.html">MapGISTerrainService</a>}</span>
915
939
  </h4>
916
940
 
917
941
 
918
942
  <div class="tag-source">
919
- engineExtensions/core/MapGISTerrainService.js, line 93
943
+ engineExtensions/core/MapGISTerrainService.js, line 126
920
944
  </div>
921
945
 
922
946
  </div>
@@ -927,7 +951,8 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
927
951
 
928
952
 
929
953
  <div class="description">
930
- <p>通过JSON构造地形服务对象<a id='fromJSON'/></p>
954
+ <p>克隆当前地形服务对象。</p>
955
+ <p>克隆结果会复制当前实例的配置字段,但不会共享引用状态。</p>
931
956
  </div>
932
957
 
933
958
 
@@ -936,51 +961,6 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
936
961
 
937
962
 
938
963
 
939
-
940
-
941
- <table class="params">
942
- <thead>
943
- <tr>
944
-
945
- <th>Name</th>
946
-
947
-
948
- <th>Type</th>
949
-
950
-
951
-
952
- <th class="last">Description</th>
953
- </tr>
954
- </thead>
955
-
956
- <tbody>
957
-
958
-
959
- <tr>
960
-
961
- <td class="name"><code>json</code></td>
962
-
963
-
964
- <td class="type">
965
-
966
-
967
- <span class="param-type">Object</span>
968
-
969
-
970
-
971
- </td>
972
-
973
-
974
-
975
- <td class="description last">
976
-
977
- <p>json对象</p></td>
978
- </tr>
979
-
980
-
981
- </tbody>
982
- </table>
983
-
984
964
 
985
965
 
986
966
  <dl class="details">
@@ -1039,7 +1019,7 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
1039
1019
 
1040
1020
 
1041
1021
  </td>
1042
- <td class="description last">地形服务对象</td>
1022
+ <td class="description last">新的地形服务副本。</td>
1043
1023
  </tr>
1044
1024
 
1045
1025
  </tbody>
@@ -1054,14 +1034,14 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
1054
1034
 
1055
1035
  <dt>
1056
1036
  <div class="nameContainer">
1057
- <h4 class="name" id="clone">
1037
+ <h4 class="name" id="toJSON">
1058
1038
 
1059
- clone<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="MapGISTerrainService.html">MapGISTerrainService</a>}</span>
1039
+ toJSON<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
1060
1040
  </h4>
1061
1041
 
1062
1042
 
1063
1043
  <div class="tag-source">
1064
- engineExtensions/core/MapGISTerrainService.js, line 117
1044
+ engineExtensions/core/MapGISTerrainService.js, line 106
1065
1045
  </div>
1066
1046
 
1067
1047
  </div>
@@ -1072,7 +1052,8 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
1072
1052
 
1073
1053
 
1074
1054
  <div class="description">
1075
- <p>克隆并返回一个新的地形服务对象<a id='clone'/></p>
1055
+ <p>导出当前地形服务的 JSON 配置。</p>
1056
+ <p>适用于持久化当前地形服务状态,通常与 <code>fromJSON</code> 配合使用。</p>
1076
1057
  </div>
1077
1058
 
1078
1059
 
@@ -1135,11 +1116,11 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
1135
1116
 
1136
1117
  <td class="type">
1137
1118
 
1138
- <a href="MapGISTerrainService.html">MapGISTerrainService</a>
1119
+ Object
1139
1120
 
1140
1121
 
1141
1122
  </td>
1142
- <td class="description last">新的地形服务对象</td>
1123
+ <td class="description last">当前地形服务的序列化配置对象。</td>
1143
1124
  </tr>
1144
1125
 
1145
1126
  </tbody>
@@ -1154,14 +1135,14 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
1154
1135
 
1155
1136
  <dt>
1156
1137
  <div class="nameContainer">
1157
- <h4 class="name" id="toJSON">
1138
+ <h4 class="name" id=".fromJSON">
1158
1139
 
1159
- toJSON<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
1140
+ MapGISTerrainService.fromJSON<span class="signature">(<span class="optional">json</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="MapGISTerrainService.html">MapGISTerrainService</a>}</span>
1160
1141
  </h4>
1161
1142
 
1162
1143
 
1163
1144
  <div class="tag-source">
1164
- engineExtensions/core/MapGISTerrainService.js, line 101
1145
+ engineExtensions/core/MapGISTerrainService.js, line 93
1165
1146
  </div>
1166
1147
 
1167
1148
  </div>
@@ -1172,7 +1153,8 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
1172
1153
 
1173
1154
 
1174
1155
  <div class="description">
1175
- <p>将地形服务对象导出为JSON对象<a id='toJSON'/></p>
1156
+ <p>通过 JSON 配置恢复地形服务对象。</p>
1157
+ <p>适用于从持久化配置、接口返回结果或 <code>toJSON</code> 输出中重新创建地形服务实例。</p>
1176
1158
  </div>
1177
1159
 
1178
1160
 
@@ -1181,6 +1163,66 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
1181
1163
 
1182
1164
 
1183
1165
 
1166
+
1167
+
1168
+ <table class="params">
1169
+ <thead>
1170
+ <tr>
1171
+
1172
+ <th>Name</th>
1173
+
1174
+
1175
+ <th>Type</th>
1176
+
1177
+
1178
+ <th>Default</th>
1179
+
1180
+
1181
+ <th class="last">Description</th>
1182
+ </tr>
1183
+ </thead>
1184
+
1185
+ <tbody>
1186
+
1187
+
1188
+ <tr>
1189
+
1190
+ <td class="name"><code>json</code></td>
1191
+
1192
+
1193
+ <td class="type">
1194
+
1195
+
1196
+ <span class="param-type">Object</span>
1197
+
1198
+
1199
+
1200
+ </td>
1201
+
1202
+
1203
+ <td class="default">
1204
+
1205
+ {}
1206
+
1207
+ </td>
1208
+
1209
+
1210
+ <td class="description last">
1211
+
1212
+
1213
+ <span class="optional"> 可选</span>
1214
+
1215
+
1216
+
1217
+
1218
+
1219
+ <p>地形服务配置对象。</p></td>
1220
+ </tr>
1221
+
1222
+
1223
+ </tbody>
1224
+ </table>
1225
+
1184
1226
 
1185
1227
 
1186
1228
  <dl class="details">
@@ -1235,11 +1277,11 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
1235
1277
 
1236
1278
  <td class="type">
1237
1279
 
1238
- Object
1280
+ <a href="MapGISTerrainService.html">MapGISTerrainService</a>
1239
1281
 
1240
1282
 
1241
1283
  </td>
1242
- <td class="description last">json对象</td>
1284
+ <td class="description last">恢复后的地形服务对象。</td>
1243
1285
  </tr>
1244
1286
 
1245
1287
  </tbody>
@@ -1264,7 +1306,7 @@ IGS2.0: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer/
1264
1306
 
1265
1307
 
1266
1308
  <footer>
1267
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
1309
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 GMT+0800 (中国标准时间)
1268
1310
  </footer>
1269
1311
  </div>
1270
1312
  </div>