@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/scene/imageryProvider/MapGISMapServerSingleImageryProvider.js, line
|
|
91
|
+
engineExtensions/scene/imageryProvider/MapGISMapServerSingleImageryProvider.js, line 7
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
@@ -99,7 +99,15 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p>
|
|
102
|
+
<p>MapGIS 一张图出图影像提供器。</p>
|
|
103
|
+
<p>该类用于把 MapGIS 地图服务、场景覆盖物出图接口或 gdbp 出图接口封装为
|
|
104
|
+
Cesium 可直接加载的单张出图 imagery provider。适用于需要按视口动态请求
|
|
105
|
+
一张大图,而不是按标准瓦片服务逐块拉取的场景。</p>
|
|
106
|
+
<p>常见服务地址包括:
|
|
107
|
+
<code>.../mrms/docs/{folder}:{serviceName}</code>、
|
|
108
|
+
<code>.../services/{folder}/{serviceName}/MapServer</code>、
|
|
109
|
+
<code>.../services/{folder}/{serviceName}/SceneServer</code>、
|
|
110
|
+
<code>.../services/system/ResourceServer</code>。</p>
|
|
103
111
|
</div>
|
|
104
112
|
|
|
105
113
|
|
|
@@ -146,7 +154,7 @@
|
|
|
146
154
|
|
|
147
155
|
<td class="description last">
|
|
148
156
|
|
|
149
|
-
<p
|
|
157
|
+
<p>初始化参数。</p>
|
|
150
158
|
|
|
151
159
|
|
|
152
160
|
<table class="params">
|
|
@@ -196,7 +204,7 @@
|
|
|
196
204
|
|
|
197
205
|
|
|
198
206
|
|
|
199
|
-
<p>
|
|
207
|
+
<p>Cesium 视图对象。</p></td>
|
|
200
208
|
</tr>
|
|
201
209
|
|
|
202
210
|
|
|
@@ -235,17 +243,19 @@
|
|
|
235
243
|
|
|
236
244
|
|
|
237
245
|
|
|
238
|
-
<p
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
<p>服务基地址,可传字符串或 <code>Cesium.Resource</code>。
|
|
247
|
+
格式如下:</p>
|
|
248
|
+
<ol>
|
|
249
|
+
<li>动态出图:
|
|
250
|
+
<code>http://{ip}:{port}/igs/rest/mrms/docs/{folder}:{serviceName}</code>
|
|
251
|
+
<code>http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/MapServer</code></li>
|
|
252
|
+
<li>场景覆盖物出图:
|
|
253
|
+
<code>http://{ip}:{port}/igs/rest/g3d/{folder}:{serviceName}</code>
|
|
254
|
+
<code>http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/SceneServer</code></li>
|
|
255
|
+
<li>gdbp 出图:
|
|
256
|
+
<code>http://{ip}:{port}/igs/rest/mrms/layers</code>
|
|
257
|
+
<code>http://{ip}:{port}/igs/rest/services/system/ResourceServer</code></li>
|
|
258
|
+
</ol></td>
|
|
249
259
|
</tr>
|
|
250
260
|
|
|
251
261
|
|
|
@@ -281,7 +291,7 @@
|
|
|
281
291
|
|
|
282
292
|
|
|
283
293
|
|
|
284
|
-
<p
|
|
294
|
+
<p>需要显示的子图层 ID 字符串,多个图层以逗号分隔。</p></td>
|
|
285
295
|
</tr>
|
|
286
296
|
|
|
287
297
|
|
|
@@ -320,7 +330,7 @@
|
|
|
320
330
|
|
|
321
331
|
|
|
322
332
|
|
|
323
|
-
<p
|
|
333
|
+
<p>请求结果使用的平铺方案。</p></td>
|
|
324
334
|
</tr>
|
|
325
335
|
|
|
326
336
|
|
|
@@ -356,7 +366,7 @@
|
|
|
356
366
|
|
|
357
367
|
|
|
358
368
|
|
|
359
|
-
<p
|
|
369
|
+
<p>图层显示范围,超出范围不再额外请求图片。</p></td>
|
|
360
370
|
</tr>
|
|
361
371
|
|
|
362
372
|
|
|
@@ -392,7 +402,7 @@
|
|
|
392
402
|
|
|
393
403
|
|
|
394
404
|
|
|
395
|
-
<p
|
|
405
|
+
<p>图层空间参考。</p></td>
|
|
396
406
|
</tr>
|
|
397
407
|
|
|
398
408
|
|
|
@@ -428,7 +438,7 @@
|
|
|
428
438
|
|
|
429
439
|
|
|
430
440
|
|
|
431
|
-
<p>HTTP
|
|
441
|
+
<p>HTTP 请求方式,支持 <code>GET</code> 和 <code>POST</code>。</p></td>
|
|
432
442
|
</tr>
|
|
433
443
|
|
|
434
444
|
|
|
@@ -464,7 +474,7 @@
|
|
|
464
474
|
|
|
465
475
|
|
|
466
476
|
|
|
467
|
-
<p
|
|
477
|
+
<p>最小请求级别。</p></td>
|
|
468
478
|
</tr>
|
|
469
479
|
|
|
470
480
|
|
|
@@ -500,7 +510,7 @@
|
|
|
500
510
|
|
|
501
511
|
|
|
502
512
|
|
|
503
|
-
<p
|
|
513
|
+
<p>最大请求级别。</p></td>
|
|
504
514
|
</tr>
|
|
505
515
|
|
|
506
516
|
|
|
@@ -536,7 +546,7 @@
|
|
|
536
546
|
|
|
537
547
|
|
|
538
548
|
|
|
539
|
-
<p>
|
|
549
|
+
<p>gdbp 地址数组。</p></td>
|
|
540
550
|
</tr>
|
|
541
551
|
|
|
542
552
|
|
|
@@ -572,7 +582,7 @@
|
|
|
572
582
|
|
|
573
583
|
|
|
574
584
|
|
|
575
|
-
<p
|
|
585
|
+
<p>图层过滤条件。</p></td>
|
|
576
586
|
</tr>
|
|
577
587
|
|
|
578
588
|
|
|
@@ -608,7 +618,7 @@
|
|
|
608
618
|
|
|
609
619
|
|
|
610
620
|
|
|
611
|
-
<p
|
|
621
|
+
<p>转发代理。</p></td>
|
|
612
622
|
</tr>
|
|
613
623
|
|
|
614
624
|
|
|
@@ -644,7 +654,7 @@
|
|
|
644
654
|
|
|
645
655
|
|
|
646
656
|
|
|
647
|
-
<p
|
|
657
|
+
<p>动态图层信息。</p></td>
|
|
648
658
|
</tr>
|
|
649
659
|
|
|
650
660
|
|
|
@@ -680,7 +690,7 @@
|
|
|
680
690
|
|
|
681
691
|
|
|
682
692
|
|
|
683
|
-
<p
|
|
693
|
+
<p>自定义图片请求资源构造函数。</p></td>
|
|
684
694
|
</tr>
|
|
685
695
|
|
|
686
696
|
|
|
@@ -714,7 +724,7 @@
|
|
|
714
724
|
|
|
715
725
|
|
|
716
726
|
|
|
717
|
-
<p
|
|
727
|
+
<p>客户端唯一标识,用于服务端临时地图复用。</p></td>
|
|
718
728
|
</tr>
|
|
719
729
|
|
|
720
730
|
|
|
@@ -753,7 +763,7 @@
|
|
|
753
763
|
|
|
754
764
|
|
|
755
765
|
|
|
756
|
-
<p
|
|
766
|
+
<p>是否启用服务端抗锯齿。</p></td>
|
|
757
767
|
</tr>
|
|
758
768
|
|
|
759
769
|
|
|
@@ -789,7 +799,7 @@
|
|
|
789
799
|
|
|
790
800
|
|
|
791
801
|
|
|
792
|
-
<p
|
|
802
|
+
<p>场景覆盖物出图时指定的图层下标。</p></td>
|
|
793
803
|
</tr>
|
|
794
804
|
|
|
795
805
|
|
|
@@ -825,7 +835,7 @@
|
|
|
825
835
|
|
|
826
836
|
|
|
827
837
|
|
|
828
|
-
<p
|
|
838
|
+
<p>返回图片格式。</p></td>
|
|
829
839
|
</tr>
|
|
830
840
|
|
|
831
841
|
|
|
@@ -861,7 +871,7 @@
|
|
|
861
871
|
|
|
862
872
|
|
|
863
873
|
|
|
864
|
-
<p
|
|
874
|
+
<p>图片背景是否透明。</p></td>
|
|
865
875
|
</tr>
|
|
866
876
|
|
|
867
877
|
|
|
@@ -897,7 +907,7 @@
|
|
|
897
907
|
|
|
898
908
|
|
|
899
909
|
|
|
900
|
-
<p
|
|
910
|
+
<p>动态投影坐标系字符串。</p></td>
|
|
901
911
|
</tr>
|
|
902
912
|
|
|
903
913
|
|
|
@@ -948,6 +958,27 @@
|
|
|
948
958
|
|
|
949
959
|
|
|
950
960
|
|
|
961
|
+
<h5>Example</h5>
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
966
|
+
const { MapGISMapServerSingleImageryProvider } = zondy.cesium
|
|
967
|
+
|
|
968
|
+
// ES6引入方式
|
|
969
|
+
import { MapGISMapServerSingleImageryProvider } from '@mapgis/webclient-cesium-plugin'
|
|
970
|
+
|
|
971
|
+
const imageryProvider = new MapGISMapServerSingleImageryProvider({
|
|
972
|
+
viewer,
|
|
973
|
+
url: 'http://localhost:8089/igs/rest/services/Map/湖北省4326/MapServer',
|
|
974
|
+
layers: '',
|
|
975
|
+
imageFormat: 'png',
|
|
976
|
+
imageTransparent: true
|
|
977
|
+
})
|
|
978
|
+
viewer.imageryLayers.addImageryProvider(imageryProvider)</code></pre>
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
|
|
951
982
|
</dd>
|
|
952
983
|
|
|
953
984
|
|
|
@@ -976,12 +1007,12 @@
|
|
|
976
1007
|
<div class="nameContainer">
|
|
977
1008
|
<h4 class="name" id="fromUrl">
|
|
978
1009
|
|
|
979
|
-
fromUrl<span class="signature">(url, options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{
|
|
1010
|
+
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="MapGISMapServerSingleImageryProvider.html">MapGISMapServerSingleImageryProvider</a>>}</span>
|
|
980
1011
|
</h4>
|
|
981
1012
|
|
|
982
1013
|
|
|
983
1014
|
<div class="tag-source">
|
|
984
|
-
engineExtensions/scene/imageryProvider/MapGISMapServerSingleImageryProvider.js, line
|
|
1015
|
+
engineExtensions/scene/imageryProvider/MapGISMapServerSingleImageryProvider.js, line 151
|
|
985
1016
|
</div>
|
|
986
1017
|
|
|
987
1018
|
</div>
|
|
@@ -991,6 +1022,12 @@
|
|
|
991
1022
|
<dd>
|
|
992
1023
|
|
|
993
1024
|
|
|
1025
|
+
<div class="description">
|
|
1026
|
+
<p>根据服务地址解析图层元信息并返回新的 provider 实例。</p>
|
|
1027
|
+
<p>该方法会先加载服务元信息,再将解析出的默认配置与调用方传入的 <code>options</code>
|
|
1028
|
+
合并,最终返回一个新的 <code>MapGISMapServerSingleImageryProvider</code>。</p>
|
|
1029
|
+
</div>
|
|
1030
|
+
|
|
994
1031
|
|
|
995
1032
|
|
|
996
1033
|
|
|
@@ -1009,6 +1046,8 @@
|
|
|
1009
1046
|
<th>Type</th>
|
|
1010
1047
|
|
|
1011
1048
|
|
|
1049
|
+
<th>Default</th>
|
|
1050
|
+
|
|
1012
1051
|
|
|
1013
1052
|
<th class="last">Description</th>
|
|
1014
1053
|
</tr>
|
|
@@ -1035,10 +1074,19 @@
|
|
|
1035
1074
|
</td>
|
|
1036
1075
|
|
|
1037
1076
|
|
|
1077
|
+
<td class="default">
|
|
1078
|
+
|
|
1079
|
+
</td>
|
|
1080
|
+
|
|
1038
1081
|
|
|
1039
1082
|
<td class="description last">
|
|
1040
1083
|
|
|
1041
|
-
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
<p>服务基地址。</p></td>
|
|
1042
1090
|
</tr>
|
|
1043
1091
|
|
|
1044
1092
|
|
|
@@ -1058,10 +1106,23 @@
|
|
|
1058
1106
|
</td>
|
|
1059
1107
|
|
|
1060
1108
|
|
|
1109
|
+
<td class="default">
|
|
1110
|
+
|
|
1111
|
+
{}
|
|
1112
|
+
|
|
1113
|
+
</td>
|
|
1114
|
+
|
|
1061
1115
|
|
|
1062
1116
|
<td class="description last">
|
|
1063
1117
|
|
|
1064
|
-
|
|
1118
|
+
|
|
1119
|
+
<span class="optional"> 可选</span>
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
<p>附加配置。若与服务元信息存在同名项,优先使用传入值。</p></td>
|
|
1065
1126
|
</tr>
|
|
1066
1127
|
|
|
1067
1128
|
|
|
@@ -1122,11 +1183,11 @@
|
|
|
1122
1183
|
|
|
1123
1184
|
<td class="type">
|
|
1124
1185
|
|
|
1125
|
-
|
|
1186
|
+
<a href="Promise.html">Promise</a>.<<a href="MapGISMapServerSingleImageryProvider.html">MapGISMapServerSingleImageryProvider</a>>
|
|
1126
1187
|
|
|
1127
1188
|
|
|
1128
1189
|
</td>
|
|
1129
|
-
<td class="description last"
|
|
1190
|
+
<td class="description last">已初始化的 provider 实例。</td>
|
|
1130
1191
|
</tr>
|
|
1131
1192
|
|
|
1132
1193
|
</tbody>
|
|
@@ -1137,11 +1198,18 @@
|
|
|
1137
1198
|
|
|
1138
1199
|
<h5>Example</h5>
|
|
1139
1200
|
|
|
1140
|
-
<p class="code-caption"><h7 id='fromUrl'>通过ArcGIS地图服务的url获取MapGISMapServerSingleImageryProvider对象</h7></p>
|
|
1141
|
-
|
|
1142
1201
|
|
|
1143
1202
|
|
|
1144
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
1145
1203
|
const imageryProvider = await MapGISMapServerSingleImageryProvider.fromUrl(url)
|
|
1146
1204
|
viewer.imageryLayers.addImageryProvider(imageryProvider)
|
|
1205
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
1206
|
+
const { MapGISMapServerSingleImageryProvider } = zondy.cesium
|
|
1207
|
+
|
|
1208
|
+
// ES6引入方式
|
|
1209
|
+
import { MapGISMapServerSingleImageryProvider } from '@mapgis/webclient-cesium-plugin'
|
|
1210
|
+
|
|
1211
|
+
const provider = await new MapGISMapServerSingleImageryProvider({ viewer }).fromUrl(
|
|
1212
|
+
'http://localhost:8089/igs/rest/services/Map/湖北省4326/MapServer'
|
|
1213
|
+
)
|
|
1214
|
+
viewer.imageryLayers.addImageryProvider(provider)</code></pre>
|
|
1147
1215
|
|
|
1148
1216
|
|
|
1149
1217
|
|
|
@@ -1161,7 +1229,7 @@
|
|
|
1161
1229
|
|
|
1162
1230
|
|
|
1163
1231
|
<footer>
|
|
1164
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri
|
|
1232
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 GMT+0800 (中国标准时间)
|
|
1165
1233
|
</footer>
|
|
1166
1234
|
</div>
|
|
1167
1235
|
</div>
|