@mapgis/webclient-cesium-plugin 17.8.0 → 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 -474
- 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 +92 -41
- 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
|
@@ -94,22 +94,15 @@
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>请参考以下示例:</h5>
|
|
98
|
-
<a href='#example1'>1、添加一个WMS图层:原生接口开发</a><br>
|
|
99
|
-
<a href='#example2'>2、添加一个WMS图层:混合接口开发</a><br>
|
|
100
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/layer/layerControl/image-layer-elevation-mode-setting' target='_blank'>3、影像图层高程模式设置</a><br>
|
|
101
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/analyse/compareAnalyse/roller-shutter' target='_blank'>4、卷帘</a><br>
|
|
102
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/sceneControl/scene/globe-independent-translucency' target='_blank'>5、地表透明度独立控制</a><br>
|
|
103
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#OGCLayer' target='_blank'>6、更多图层加载示例</a>
|
|
104
|
-
<h5>支持如下方法:</h5>
|
|
105
|
-
<a href='#fromUrl'>[1、通过WMS服务的url获取WebMapServiceImageryProvider对象]</a><br/></p>
|
|
106
|
-
|
|
107
97
|
</dt>
|
|
108
98
|
<dd>
|
|
109
99
|
|
|
110
100
|
|
|
111
101
|
<div class="description">
|
|
112
102
|
<p>WMS服务接入类,现已不支持通过构造函数(new WebMapServiceImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p>
|
|
103
|
+
<p>该类用于将 OGC WMS 服务接入 Cesium 影像系统,并统一处理不同版本 WMS 的参数差异。
|
|
104
|
+
推荐通过 <code>fromUrl</code> 初始化,自动获取服务元信息并映射到 Cesium WebMapServiceImageryProvider 参数。
|
|
105
|
+
当需要控制坐标轴顺序时,可通过 <code>isReverseXY</code> 明确覆盖默认策略。</p>
|
|
113
106
|
</div>
|
|
114
107
|
|
|
115
108
|
|
|
@@ -164,6 +157,7 @@
|
|
|
164
157
|
|
|
165
158
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
166
159
|
const { WebMapServiceImageryProvider } = zondy.cesium
|
|
160
|
+
|
|
167
161
|
// ES6引入方式
|
|
168
162
|
import { WebMapServiceImageryProvider } from "@mapgis/webclient-cesium-plugin"
|
|
169
163
|
|
|
@@ -186,6 +180,7 @@ addWMSLayer(url)</code></pre>
|
|
|
186
180
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
187
181
|
const { WMSLayer } = zondy.layer
|
|
188
182
|
const { initializeOptions } = zondy.cesium.util
|
|
183
|
+
|
|
189
184
|
// ES6引入方式
|
|
190
185
|
import { initializeOptions } from "@mapgis/webclient-cesium-plugin"
|
|
191
186
|
import { WMSLayer } from "@mapgis/webclient-common"
|
|
@@ -243,7 +238,7 @@ wmsLayer.load().then((layer) => {
|
|
|
243
238
|
|
|
244
239
|
|
|
245
240
|
<div class="tag-source">
|
|
246
|
-
engineExtensions/scene/imageryProvider/WebMapServiceImageryProvider.js, line
|
|
241
|
+
engineExtensions/scene/imageryProvider/WebMapServiceImageryProvider.js, line 115
|
|
247
242
|
</div>
|
|
248
243
|
|
|
249
244
|
</div>
|
|
@@ -1209,6 +1204,7 @@ an array, each element in the array is a subdomain.</p></td>
|
|
|
1209
1204
|
|
|
1210
1205
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1211
1206
|
const { WebMapServiceImageryProvider } = zondy.cesium
|
|
1207
|
+
|
|
1212
1208
|
// ES6引入方式
|
|
1213
1209
|
import { WebMapServiceImageryProvider } from "@mapgis/webclient-cesium-plugin"
|
|
1214
1210
|
|
|
@@ -1237,7 +1233,7 @@ addImageryProvider(url)</code></pre>
|
|
|
1237
1233
|
|
|
1238
1234
|
|
|
1239
1235
|
<footer>
|
|
1240
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1236
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:56:00 GMT+0800 (中国标准时间)
|
|
1241
1237
|
</footer>
|
|
1242
1238
|
</div>
|
|
1243
1239
|
</div>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/scene/imageryProvider/WebMapServiceSingleImageryProvider.js, line
|
|
91
|
+
engineExtensions/scene/imageryProvider/WebMapServiceSingleImageryProvider.js, line 14
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
@@ -99,7 +99,9 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p>WMS
|
|
102
|
+
<p>WMS 单图出图影像提供器。</p>
|
|
103
|
+
<p>该类用于把 MapGIS WMS 或 ArcGIS WMS 服务封装为 Cesium 单图出图 provider。
|
|
104
|
+
适用于需要保留 WMS 自定义参数、CRS/SRS 配置和 bbox 顺序控制的场景。</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>初始化参数。</p>
|
|
150
152
|
|
|
151
153
|
|
|
152
154
|
<table class="params">
|
|
@@ -196,7 +198,7 @@
|
|
|
196
198
|
|
|
197
199
|
|
|
198
200
|
|
|
199
|
-
<p>
|
|
201
|
+
<p>Cesium 视图对象。</p></td>
|
|
200
202
|
</tr>
|
|
201
203
|
|
|
202
204
|
|
|
@@ -235,12 +237,15 @@
|
|
|
235
237
|
|
|
236
238
|
|
|
237
239
|
|
|
238
|
-
<p
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
240
|
+
<p>WMS 服务基地址。
|
|
241
|
+
格式如下:</p>
|
|
242
|
+
<ol>
|
|
243
|
+
<li>MapGIS WMS:
|
|
244
|
+
<code>http://{ip}:{port}/igs/rest/ogc/doc/{folder}:{serviceName}/WMSServer</code>
|
|
245
|
+
<code>http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/WMSServer</code></li>
|
|
246
|
+
<li>ArcGIS WMS:
|
|
247
|
+
<code>http://{ip}:{port}/arcgis/rest/services/{serviceName}/WMSServer</code></li>
|
|
248
|
+
</ol></td>
|
|
244
249
|
</tr>
|
|
245
250
|
|
|
246
251
|
|
|
@@ -276,7 +281,7 @@
|
|
|
276
281
|
|
|
277
282
|
|
|
278
283
|
|
|
279
|
-
<p
|
|
284
|
+
<p>图层显示范围。</p></td>
|
|
280
285
|
</tr>
|
|
281
286
|
|
|
282
287
|
|
|
@@ -312,7 +317,7 @@
|
|
|
312
317
|
|
|
313
318
|
|
|
314
319
|
|
|
315
|
-
<p
|
|
320
|
+
<p>图层空间参考。</p></td>
|
|
316
321
|
</tr>
|
|
317
322
|
|
|
318
323
|
|
|
@@ -348,7 +353,7 @@
|
|
|
348
353
|
|
|
349
354
|
|
|
350
355
|
|
|
351
|
-
<p>HTTP
|
|
356
|
+
<p>HTTP 请求方式。</p></td>
|
|
352
357
|
</tr>
|
|
353
358
|
|
|
354
359
|
|
|
@@ -384,7 +389,7 @@
|
|
|
384
389
|
|
|
385
390
|
|
|
386
391
|
|
|
387
|
-
<p
|
|
392
|
+
<p>最小请求级别。</p></td>
|
|
388
393
|
</tr>
|
|
389
394
|
|
|
390
395
|
|
|
@@ -420,7 +425,7 @@
|
|
|
420
425
|
|
|
421
426
|
|
|
422
427
|
|
|
423
|
-
<p
|
|
428
|
+
<p>最大请求级别。</p></td>
|
|
424
429
|
</tr>
|
|
425
430
|
|
|
426
431
|
|
|
@@ -456,7 +461,7 @@
|
|
|
456
461
|
|
|
457
462
|
|
|
458
463
|
|
|
459
|
-
<p
|
|
464
|
+
<p>转发代理。</p></td>
|
|
460
465
|
</tr>
|
|
461
466
|
|
|
462
467
|
|
|
@@ -492,7 +497,7 @@
|
|
|
492
497
|
|
|
493
498
|
|
|
494
499
|
|
|
495
|
-
<p
|
|
500
|
+
<p>动态图层信息。</p></td>
|
|
496
501
|
</tr>
|
|
497
502
|
|
|
498
503
|
|
|
@@ -528,7 +533,7 @@
|
|
|
528
533
|
|
|
529
534
|
|
|
530
535
|
|
|
531
|
-
<p
|
|
536
|
+
<p>自定义图片请求资源构造函数。</p></td>
|
|
532
537
|
</tr>
|
|
533
538
|
|
|
534
539
|
|
|
@@ -567,7 +572,7 @@
|
|
|
567
572
|
|
|
568
573
|
|
|
569
574
|
|
|
570
|
-
<p
|
|
575
|
+
<p>是否翻转 bbox 中的 X/Y 顺序。</p></td>
|
|
571
576
|
</tr>
|
|
572
577
|
|
|
573
578
|
|
|
@@ -603,7 +608,7 @@
|
|
|
603
608
|
|
|
604
609
|
|
|
605
610
|
|
|
606
|
-
<p
|
|
611
|
+
<p>WMS 1.3.0 及以上使用的坐标系名称。</p></td>
|
|
607
612
|
</tr>
|
|
608
613
|
|
|
609
614
|
|
|
@@ -639,7 +644,7 @@
|
|
|
639
644
|
|
|
640
645
|
|
|
641
646
|
|
|
642
|
-
<p
|
|
647
|
+
<p>WMS 1.1.0/1.1.1 使用的坐标系名称。</p></td>
|
|
643
648
|
</tr>
|
|
644
649
|
|
|
645
650
|
|
|
@@ -668,7 +673,7 @@
|
|
|
668
673
|
|
|
669
674
|
<td class="description last">
|
|
670
675
|
|
|
671
|
-
<p
|
|
676
|
+
<p>额外附加到 GetMap 请求中的参数。</p></td>
|
|
672
677
|
</tr>
|
|
673
678
|
|
|
674
679
|
|
|
@@ -713,6 +718,28 @@
|
|
|
713
718
|
|
|
714
719
|
|
|
715
720
|
|
|
721
|
+
<h5>Example</h5>
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
726
|
+
const { WebMapServiceSingleImageryProvider } = zondy.cesium
|
|
727
|
+
|
|
728
|
+
// ES6引入方式
|
|
729
|
+
import { WebMapServiceSingleImageryProvider } from '@mapgis/webclient-cesium-plugin'
|
|
730
|
+
|
|
731
|
+
const imageryProvider = new WebMapServiceSingleImageryProvider({
|
|
732
|
+
viewer,
|
|
733
|
+
url: 'http://localhost:8089/igs/rest/services/Map/example/WMSServer',
|
|
734
|
+
parameters: {
|
|
735
|
+
format: 'image/png',
|
|
736
|
+
transparent: true
|
|
737
|
+
}
|
|
738
|
+
})
|
|
739
|
+
viewer.imageryLayers.addImageryProvider(imageryProvider)</code></pre>
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
716
743
|
</dd>
|
|
717
744
|
|
|
718
745
|
|
|
@@ -741,12 +768,12 @@
|
|
|
741
768
|
<div class="nameContainer">
|
|
742
769
|
<h4 class="name" id="fromUrl">
|
|
743
770
|
|
|
744
|
-
fromUrl<span class="signature">(url, options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{
|
|
771
|
+
fromUrl<span class="signature">(url, <span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="Promise.html">Promise</a>.<<a href="WebMapServiceSingleImageryProvider.html">WebMapServiceSingleImageryProvider</a>>}</span>
|
|
745
772
|
</h4>
|
|
746
773
|
|
|
747
774
|
|
|
748
775
|
<div class="tag-source">
|
|
749
|
-
engineExtensions/scene/imageryProvider/WebMapServiceSingleImageryProvider.js, line
|
|
776
|
+
engineExtensions/scene/imageryProvider/WebMapServiceSingleImageryProvider.js, line 129
|
|
750
777
|
</div>
|
|
751
778
|
|
|
752
779
|
</div>
|
|
@@ -756,6 +783,10 @@
|
|
|
756
783
|
<dd>
|
|
757
784
|
|
|
758
785
|
|
|
786
|
+
<div class="description">
|
|
787
|
+
<p>根据服务地址解析 WMS 元信息并返回新的 provider 实例。</p>
|
|
788
|
+
</div>
|
|
789
|
+
|
|
759
790
|
|
|
760
791
|
|
|
761
792
|
|
|
@@ -774,6 +805,8 @@
|
|
|
774
805
|
<th>Type</th>
|
|
775
806
|
|
|
776
807
|
|
|
808
|
+
<th>Default</th>
|
|
809
|
+
|
|
777
810
|
|
|
778
811
|
<th class="last">Description</th>
|
|
779
812
|
</tr>
|
|
@@ -800,10 +833,19 @@
|
|
|
800
833
|
</td>
|
|
801
834
|
|
|
802
835
|
|
|
836
|
+
<td class="default">
|
|
837
|
+
|
|
838
|
+
</td>
|
|
839
|
+
|
|
803
840
|
|
|
804
841
|
<td class="description last">
|
|
805
842
|
|
|
806
|
-
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
<p>WMS 服务基地址。</p></td>
|
|
807
849
|
</tr>
|
|
808
850
|
|
|
809
851
|
|
|
@@ -823,10 +865,23 @@
|
|
|
823
865
|
</td>
|
|
824
866
|
|
|
825
867
|
|
|
868
|
+
<td class="default">
|
|
869
|
+
|
|
870
|
+
{}
|
|
871
|
+
|
|
872
|
+
</td>
|
|
873
|
+
|
|
826
874
|
|
|
827
875
|
<td class="description last">
|
|
828
876
|
|
|
829
|
-
|
|
877
|
+
|
|
878
|
+
<span class="optional"> 可选</span>
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
<p>附加配置。若与服务元信息存在同名项,优先使用传入值。</p></td>
|
|
830
885
|
</tr>
|
|
831
886
|
|
|
832
887
|
|
|
@@ -887,11 +942,11 @@
|
|
|
887
942
|
|
|
888
943
|
<td class="type">
|
|
889
944
|
|
|
890
|
-
|
|
945
|
+
<a href="Promise.html">Promise</a>.<<a href="WebMapServiceSingleImageryProvider.html">WebMapServiceSingleImageryProvider</a>>
|
|
891
946
|
|
|
892
947
|
|
|
893
948
|
</td>
|
|
894
|
-
<td class="description last"
|
|
949
|
+
<td class="description last">已初始化的 provider 实例。</td>
|
|
895
950
|
</tr>
|
|
896
951
|
|
|
897
952
|
</tbody>
|
|
@@ -902,11 +957,18 @@
|
|
|
902
957
|
|
|
903
958
|
<h5>Example</h5>
|
|
904
959
|
|
|
905
|
-
<p class="code-caption"><h7 id='fromUrl'>通过ArcGIS地图服务的url获取WebMapServiceSingleImageryProvider对象</h7></p>
|
|
906
|
-
|
|
907
960
|
|
|
908
961
|
|
|
909
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
910
962
|
const imageryProvider = await WebMapServiceSingleImageryProvider.fromUrl(url)
|
|
911
963
|
viewer.imageryLayers.addImageryProvider(imageryProvider)
|
|
964
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
965
|
+
const { WebMapServiceSingleImageryProvider } = zondy.cesium
|
|
966
|
+
|
|
967
|
+
// ES6引入方式
|
|
968
|
+
import { WebMapServiceSingleImageryProvider } from '@mapgis/webclient-cesium-plugin'
|
|
969
|
+
|
|
970
|
+
const provider = await new WebMapServiceSingleImageryProvider({ viewer }).fromUrl(
|
|
971
|
+
'http://localhost:8089/igs/rest/services/Map/example/WMSServer'
|
|
972
|
+
)
|
|
973
|
+
viewer.imageryLayers.addImageryProvider(provider)</code></pre>
|
|
912
974
|
|
|
913
975
|
|
|
914
976
|
|
|
@@ -926,7 +988,7 @@
|
|
|
926
988
|
|
|
927
989
|
|
|
928
990
|
<footer>
|
|
929
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
991
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:56:00 GMT+0800 (中国标准时间)
|
|
930
992
|
</footer>
|
|
931
993
|
</div>
|
|
932
994
|
</div>
|
|
@@ -88,29 +88,21 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/scene/imageryProvider/WebMapTileServiceImageryProvider.js, line
|
|
91
|
+
engineExtensions/scene/imageryProvider/WebMapTileServiceImageryProvider.js, line 5
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>请参考以下示例:</h5>
|
|
98
|
-
<a href='#example1'>1、添加一个WMTS图层:原生接口开发</a><br>
|
|
99
|
-
<a href='#example2'>2、添加一个WMTS图层:混合接口开发</a><br>
|
|
100
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/layer/layerControl/image-layer-elevation-mode-setting' target='_blank'>3、影像图层高程模式设置</a><br>
|
|
101
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/analyse/compareAnalyse/roller-shutter' target='_blank'>4、卷帘</a><br>
|
|
102
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/layer/internetLayer/tdt' target='_blank'>5、天地图</a><br>
|
|
103
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/sceneControl/scene/globe-independent-translucency' target='_blank'>6、地表透明度独立控制</a><br>
|
|
104
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#OGCLayer' target='_blank'>7、更多图层加载示例</a>
|
|
105
|
-
<h5>支持如下方法:</h5>
|
|
106
|
-
<a href='#fromUrl'>[1、通过WMTS服务的url初始化WebMapTileServiceImageryProvider对象]</a><br/></p>
|
|
107
|
-
|
|
108
97
|
</dt>
|
|
109
98
|
<dd>
|
|
110
99
|
|
|
111
100
|
|
|
112
101
|
<div class="description">
|
|
113
102
|
<p>WMTS服务接入类,现已不支持通过构造函数(new WebMapTileServiceImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p>
|
|
103
|
+
<p>该类用于将 OGC WMTS 服务封装为 Cesium 影像提供器,支持通过服务元信息自动匹配矩阵集和级别标签。
|
|
104
|
+
推荐使用 <code>fromUrl</code> 进行初始化,以保证图层参数与服务端能力保持一致。
|
|
105
|
+
可通过 <code>isStretchImage</code> 控制超层级拉伸策略,适配不同地图显示需求。</p>
|
|
114
106
|
</div>
|
|
115
107
|
|
|
116
108
|
|
|
@@ -165,6 +157,7 @@
|
|
|
165
157
|
|
|
166
158
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
167
159
|
const { WebMapTileServiceImageryProvider } = zondy.cesium
|
|
160
|
+
|
|
168
161
|
// ES6引入方式
|
|
169
162
|
import { WebMapTileServiceImageryProvider } from "@mapgis/webclient-cesium-plugin"
|
|
170
163
|
|
|
@@ -187,9 +180,10 @@ addWMTSLayer()</code></pre>
|
|
|
187
180
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
188
181
|
const { WMTSLayer } = zondy.layer
|
|
189
182
|
const { initializeOptions } = zondy.cesium.util
|
|
183
|
+
|
|
190
184
|
// ES6引入方式
|
|
191
185
|
import { initializeOptions } from "@mapgis/webclient-cesium-plugin"
|
|
192
|
-
import {
|
|
186
|
+
import { WMTSLayer } from "@mapgis/webclient-common"
|
|
193
187
|
|
|
194
188
|
// 定义WMTS图层服务的基地址
|
|
195
189
|
const url = 'http://10.10.130.72:8089/igs/rest/services/Tile/HuBei_4326/WMTSServer'
|
|
@@ -244,7 +238,7 @@ wmtsLayer.load().then((layer) => {
|
|
|
244
238
|
|
|
245
239
|
|
|
246
240
|
<div class="tag-source">
|
|
247
|
-
engineExtensions/scene/imageryProvider/WebMapTileServiceImageryProvider.js, line
|
|
241
|
+
engineExtensions/scene/imageryProvider/WebMapTileServiceImageryProvider.js, line 113
|
|
248
242
|
</div>
|
|
249
243
|
|
|
250
244
|
</div>
|
|
@@ -1166,6 +1160,7 @@ an array, each element in the array is a subdomain.</p></td>
|
|
|
1166
1160
|
|
|
1167
1161
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1168
1162
|
const { WebMapTileServiceImageryProvider } = zondy.cesium
|
|
1163
|
+
|
|
1169
1164
|
// ES6引入方式
|
|
1170
1165
|
import { WebMapTileServiceImageryProvider } from "@mapgis/webclient-cesium-plugin"
|
|
1171
1166
|
|
|
@@ -1194,7 +1189,7 @@ addImageryProvider(url)</code></pre>
|
|
|
1194
1189
|
|
|
1195
1190
|
|
|
1196
1191
|
<footer>
|
|
1197
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1192
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:56:00 GMT+0800 (中国标准时间)
|
|
1198
1193
|
</footer>
|
|
1199
1194
|
</div>
|
|
1200
1195
|
</div>
|