@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
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/scene/imageryProvider/ArcGISMapServerSingleImageryProvider.js, line
|
|
91
|
+
engineExtensions/scene/imageryProvider/ArcGISMapServerSingleImageryProvider.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>ArcGIS
|
|
102
|
+
<p>ArcGIS MapServer 一张图出图提供器。</p>
|
|
103
|
+
<p>该类用于把 ArcGIS <code>MapServer</code> 或 IGS 转发的 ArcGIS 服务封装为 Cesium
|
|
104
|
+
可直接加载的单图出图 imagery provider,适合按视口范围动态请求整张地图图片。</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,10 +237,14 @@
|
|
|
235
237
|
|
|
236
238
|
|
|
237
239
|
|
|
238
|
-
<p
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
ArcGIS
|
|
240
|
+
<p>服务基地址。
|
|
241
|
+
格式如下:</p>
|
|
242
|
+
<ol>
|
|
243
|
+
<li>IGS 发布的 ArcGIS 服务:
|
|
244
|
+
<code>http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/arcgis/MapServer</code></li>
|
|
245
|
+
<li>原生 ArcGIS 服务:
|
|
246
|
+
<code>https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</code></li>
|
|
247
|
+
</ol></td>
|
|
242
248
|
</tr>
|
|
243
249
|
|
|
244
250
|
|
|
@@ -274,7 +280,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
274
280
|
|
|
275
281
|
|
|
276
282
|
|
|
277
|
-
<p
|
|
283
|
+
<p>需要显示的子图层 ID 字符串。</p></td>
|
|
278
284
|
</tr>
|
|
279
285
|
|
|
280
286
|
|
|
@@ -313,7 +319,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
313
319
|
|
|
314
320
|
|
|
315
321
|
|
|
316
|
-
<p
|
|
322
|
+
<p>请求结果使用的平铺方案。</p></td>
|
|
317
323
|
</tr>
|
|
318
324
|
|
|
319
325
|
|
|
@@ -349,7 +355,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
349
355
|
|
|
350
356
|
|
|
351
357
|
|
|
352
|
-
<p
|
|
358
|
+
<p>图层显示范围。</p></td>
|
|
353
359
|
</tr>
|
|
354
360
|
|
|
355
361
|
|
|
@@ -385,7 +391,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
385
391
|
|
|
386
392
|
|
|
387
393
|
|
|
388
|
-
<p
|
|
394
|
+
<p>图层空间参考。</p></td>
|
|
389
395
|
</tr>
|
|
390
396
|
|
|
391
397
|
|
|
@@ -421,7 +427,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
421
427
|
|
|
422
428
|
|
|
423
429
|
|
|
424
|
-
<p>HTTP
|
|
430
|
+
<p>HTTP 请求方式。</p></td>
|
|
425
431
|
</tr>
|
|
426
432
|
|
|
427
433
|
|
|
@@ -457,7 +463,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
457
463
|
|
|
458
464
|
|
|
459
465
|
|
|
460
|
-
<p
|
|
466
|
+
<p>最小请求级别。</p></td>
|
|
461
467
|
</tr>
|
|
462
468
|
|
|
463
469
|
|
|
@@ -491,7 +497,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
491
497
|
|
|
492
498
|
|
|
493
499
|
|
|
494
|
-
<p
|
|
500
|
+
<p>最大请求级别。</p></td>
|
|
495
501
|
</tr>
|
|
496
502
|
|
|
497
503
|
|
|
@@ -527,7 +533,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
527
533
|
|
|
528
534
|
|
|
529
535
|
|
|
530
|
-
<p
|
|
536
|
+
<p>图层过滤条件。</p></td>
|
|
531
537
|
</tr>
|
|
532
538
|
|
|
533
539
|
|
|
@@ -563,7 +569,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
563
569
|
|
|
564
570
|
|
|
565
571
|
|
|
566
|
-
<p
|
|
572
|
+
<p>转发代理。</p></td>
|
|
567
573
|
</tr>
|
|
568
574
|
|
|
569
575
|
|
|
@@ -599,7 +605,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
599
605
|
|
|
600
606
|
|
|
601
607
|
|
|
602
|
-
<p
|
|
608
|
+
<p>自定义图片请求资源构造函数。</p></td>
|
|
603
609
|
</tr>
|
|
604
610
|
|
|
605
611
|
|
|
@@ -635,7 +641,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
635
641
|
|
|
636
642
|
|
|
637
643
|
|
|
638
|
-
<p
|
|
644
|
+
<p>返回图片坐标系。</p></td>
|
|
639
645
|
</tr>
|
|
640
646
|
|
|
641
647
|
|
|
@@ -671,7 +677,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
671
677
|
|
|
672
678
|
|
|
673
679
|
|
|
674
|
-
<p
|
|
680
|
+
<p>请求 bbox 使用的坐标系。</p></td>
|
|
675
681
|
</tr>
|
|
676
682
|
|
|
677
683
|
|
|
@@ -722,6 +728,24 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
722
728
|
|
|
723
729
|
|
|
724
730
|
|
|
731
|
+
<h5>Example</h5>
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
736
|
+
const { ArcGISMapServerSingleImageryProvider } = zondy.cesium
|
|
737
|
+
|
|
738
|
+
// ES6引入方式
|
|
739
|
+
import { ArcGISMapServerSingleImageryProvider } from '@mapgis/webclient-cesium-plugin'
|
|
740
|
+
|
|
741
|
+
const imageryProvider = new ArcGISMapServerSingleImageryProvider({
|
|
742
|
+
viewer,
|
|
743
|
+
url: 'https://map.geoq.cn/arcgis/rest/services/ChinaOnlineStreetWarm/MapServer'
|
|
744
|
+
})
|
|
745
|
+
viewer.imageryLayers.addImageryProvider(imageryProvider)</code></pre>
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
725
749
|
</dd>
|
|
726
750
|
|
|
727
751
|
|
|
@@ -750,12 +774,12 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
750
774
|
<div class="nameContainer">
|
|
751
775
|
<h4 class="name" id="fromUrl">
|
|
752
776
|
|
|
753
|
-
fromUrl<span class="signature">(url, options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{
|
|
777
|
+
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="ArcGISMapServerSingleImageryProvider.html">ArcGISMapServerSingleImageryProvider</a>>}</span>
|
|
754
778
|
</h4>
|
|
755
779
|
|
|
756
780
|
|
|
757
781
|
<div class="tag-source">
|
|
758
|
-
engineExtensions/scene/imageryProvider/ArcGISMapServerSingleImageryProvider.js, line
|
|
782
|
+
engineExtensions/scene/imageryProvider/ArcGISMapServerSingleImageryProvider.js, line 128
|
|
759
783
|
</div>
|
|
760
784
|
|
|
761
785
|
</div>
|
|
@@ -765,6 +789,11 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
765
789
|
<dd>
|
|
766
790
|
|
|
767
791
|
|
|
792
|
+
<div class="description">
|
|
793
|
+
<p>根据服务地址解析图层元信息并返回新的 provider 实例。</p>
|
|
794
|
+
<p>该方法会先加载 ArcGIS 服务元信息,再把解析结果与调用方传入的配置合并。</p>
|
|
795
|
+
</div>
|
|
796
|
+
|
|
768
797
|
|
|
769
798
|
|
|
770
799
|
|
|
@@ -783,6 +812,8 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
783
812
|
<th>Type</th>
|
|
784
813
|
|
|
785
814
|
|
|
815
|
+
<th>Default</th>
|
|
816
|
+
|
|
786
817
|
|
|
787
818
|
<th class="last">Description</th>
|
|
788
819
|
</tr>
|
|
@@ -809,10 +840,19 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
809
840
|
</td>
|
|
810
841
|
|
|
811
842
|
|
|
843
|
+
<td class="default">
|
|
844
|
+
|
|
845
|
+
</td>
|
|
846
|
+
|
|
812
847
|
|
|
813
848
|
<td class="description last">
|
|
814
849
|
|
|
815
|
-
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
<p>服务基地址。</p></td>
|
|
816
856
|
</tr>
|
|
817
857
|
|
|
818
858
|
|
|
@@ -832,10 +872,23 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
832
872
|
</td>
|
|
833
873
|
|
|
834
874
|
|
|
875
|
+
<td class="default">
|
|
876
|
+
|
|
877
|
+
{}
|
|
878
|
+
|
|
879
|
+
</td>
|
|
880
|
+
|
|
835
881
|
|
|
836
882
|
<td class="description last">
|
|
837
883
|
|
|
838
|
-
|
|
884
|
+
|
|
885
|
+
<span class="optional"> 可选</span>
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
<p>附加配置。若与服务元信息存在同名项,优先使用传入值。</p></td>
|
|
839
892
|
</tr>
|
|
840
893
|
|
|
841
894
|
|
|
@@ -896,11 +949,11 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
896
949
|
|
|
897
950
|
<td class="type">
|
|
898
951
|
|
|
899
|
-
|
|
952
|
+
<a href="Promise.html">Promise</a>.<<a href="ArcGISMapServerSingleImageryProvider.html">ArcGISMapServerSingleImageryProvider</a>>
|
|
900
953
|
|
|
901
954
|
|
|
902
955
|
</td>
|
|
903
|
-
<td class="description last"
|
|
956
|
+
<td class="description last">已初始化的 provider 实例。</td>
|
|
904
957
|
</tr>
|
|
905
958
|
|
|
906
959
|
</tbody>
|
|
@@ -911,11 +964,18 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
911
964
|
|
|
912
965
|
<h5>Example</h5>
|
|
913
966
|
|
|
914
|
-
<p class="code-caption"><h7 id='fromUrl'>通过ArcGIS地图服务的url获取ArcGISMapServerSingleImageryProvider对象</h7></p>
|
|
915
|
-
|
|
916
967
|
|
|
917
968
|
|
|
918
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
919
969
|
const imageryProvider = await ArcGISMapServerSingleImageryProvider.fromUrl(url)
|
|
920
970
|
viewer.imageryLayers.addImageryProvider(imageryProvider)
|
|
971
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
972
|
+
const { ArcGISMapServerSingleImageryProvider } = zondy.cesium
|
|
973
|
+
|
|
974
|
+
// ES6引入方式
|
|
975
|
+
import { ArcGISMapServerSingleImageryProvider } from '@mapgis/webclient-cesium-plugin'
|
|
976
|
+
|
|
977
|
+
const provider = await new ArcGISMapServerSingleImageryProvider({ viewer }).fromUrl(
|
|
978
|
+
'https://map.geoq.cn/arcgis/rest/services/ChinaOnlineStreetWarm/MapServer'
|
|
979
|
+
)
|
|
980
|
+
viewer.imageryLayers.addImageryProvider(provider)</code></pre>
|
|
921
981
|
|
|
922
982
|
|
|
923
983
|
|
|
@@ -935,7 +995,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
935
995
|
|
|
936
996
|
|
|
937
997
|
<footer>
|
|
938
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
998
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
939
999
|
</footer>
|
|
940
1000
|
</div>
|
|
941
1001
|
</div>
|
|
@@ -94,22 +94,15 @@
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>请参考以下示例:</h5>
|
|
98
|
-
<a href='#example1'>1、添加一个ArcGIS瓦片图层:原生接口开发</a><br>
|
|
99
|
-
<a href='#example2'>2、添加一个ArcGIS瓦片图层:混合接口开发</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#tileLayer' target='_blank'>6、更多图层加载示例</a>
|
|
104
|
-
<h5>支持如下方法:</h5>
|
|
105
|
-
<a href='#fromUrl'>[1、通过ArcGIS地图服务的url获取ArcGISMapServerImageryProvider对象]</a><br/></p>
|
|
106
|
-
|
|
107
97
|
</dt>
|
|
108
98
|
<dd>
|
|
109
99
|
|
|
110
100
|
|
|
111
101
|
<div class="description">
|
|
112
102
|
<p>ArcGIS瓦片服务接入类,现已不支持通过构造函数(new ArcGISTileServerImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p>
|
|
103
|
+
<p>该类用于加载 ArcGIS MapServer 的瓦片能力,统一返回 Cesium 可直接添加的影像提供器对象。
|
|
104
|
+
当前推荐仅通过 <code>fromUrl</code> 构造实例,避免直接 <code>new</code> 导致参数不完整。
|
|
105
|
+
在大比例尺场景中可通过 <code>isStretchImage</code> 控制超层级拉伸行为。</p>
|
|
113
106
|
</div>
|
|
114
107
|
|
|
115
108
|
|
|
@@ -561,6 +554,7 @@ ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/MapServer</p></td
|
|
|
561
554
|
|
|
562
555
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
563
556
|
const { ArcGISTileServerImageryProvider } = zondy.cesium
|
|
557
|
+
|
|
564
558
|
// ES6引入方式
|
|
565
559
|
import { ArcGISTileServerImageryProvider } from "@mapgis/webclient-cesium-plugin"
|
|
566
560
|
|
|
@@ -576,13 +570,14 @@ async function addArcGISMapImageLayer(url) {
|
|
|
576
570
|
addArcGISMapImageLayer(url)</code></pre>
|
|
577
571
|
|
|
578
572
|
|
|
579
|
-
<p class="code-caption"><h7 id='
|
|
573
|
+
<p class="code-caption"><h7 id='example2'>添加一个ArcGIS瓦片图层:混合接口开发</h7></p>
|
|
580
574
|
|
|
581
575
|
|
|
582
576
|
|
|
583
577
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
584
578
|
const { ArcGISTileLayer } = zondy.layer
|
|
585
579
|
const { initializeOptions } = zondy.cesium.util
|
|
580
|
+
|
|
586
581
|
// ES6引入方式
|
|
587
582
|
import { ArcGISTileLayer } from "@mapgis/webclient-common"
|
|
588
583
|
import { initializeOptions } from "@mapgis/webclient-cesium-plugin"
|
|
@@ -594,7 +589,7 @@ const url = 'https://services.arcgisonline.com/arcgis/rest/services/World_Terrai
|
|
|
594
589
|
const arcgisTileLayer = new ArcGISTileLayer({ url })
|
|
595
590
|
|
|
596
591
|
// 获取瓦片图层服务的元信息
|
|
597
|
-
|
|
592
|
+
arcgisTileLayer.load().then((layer) => {
|
|
598
593
|
// 获取provider的初始化参数
|
|
599
594
|
const options = initializeOptions(layer, viewer)
|
|
600
595
|
// 构造provider对象
|
|
@@ -633,12 +628,12 @@ arcgisMapImageLayer.load().then((layer) => {
|
|
|
633
628
|
<div class="nameContainer">
|
|
634
629
|
<h4 class="name" id=".fromUrl">
|
|
635
630
|
|
|
636
|
-
ArcGISTileServerImageryProvider.fromUrl<span class="signature">(url, options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Cesium.
|
|
631
|
+
ArcGISTileServerImageryProvider.fromUrl<span class="signature">(url, options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Cesium.UrlTemplateImageryProvider}</span>
|
|
637
632
|
</h4>
|
|
638
633
|
|
|
639
634
|
|
|
640
635
|
<div class="tag-source">
|
|
641
|
-
engineExtensions/scene/imageryProvider/ArcGISTileServerImageryProvider.js, line
|
|
636
|
+
engineExtensions/scene/imageryProvider/ArcGISTileServerImageryProvider.js, line 94
|
|
642
637
|
</div>
|
|
643
638
|
|
|
644
639
|
</div>
|
|
@@ -648,6 +643,10 @@ arcgisMapImageLayer.load().then((layer) => {
|
|
|
648
643
|
<dd>
|
|
649
644
|
|
|
650
645
|
|
|
646
|
+
<div class="description">
|
|
647
|
+
<p>通过 ArcGIS 瓦片服务地址创建影像提供器。</p>
|
|
648
|
+
</div>
|
|
649
|
+
|
|
651
650
|
|
|
652
651
|
|
|
653
652
|
|
|
@@ -779,11 +778,11 @@ arcgisMapImageLayer.load().then((layer) => {
|
|
|
779
778
|
|
|
780
779
|
<td class="type">
|
|
781
780
|
|
|
782
|
-
Cesium.
|
|
781
|
+
Cesium.UrlTemplateImageryProvider
|
|
783
782
|
|
|
784
783
|
|
|
785
784
|
</td>
|
|
786
|
-
<td class="description last"
|
|
785
|
+
<td class="description last">初始化完毕的影像提供器对象</td>
|
|
787
786
|
</tr>
|
|
788
787
|
|
|
789
788
|
</tbody>
|
|
@@ -800,6 +799,7 @@ arcgisMapImageLayer.load().then((layer) => {
|
|
|
800
799
|
|
|
801
800
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
802
801
|
const { ArcGISTileServerImageryProvider } = zondy.cesium
|
|
802
|
+
|
|
803
803
|
// ES6引入方式
|
|
804
804
|
import { ArcGISTileServerImageryProvider } from "@mapgis/webclient-cesium-plugin"
|
|
805
805
|
|
|
@@ -828,7 +828,7 @@ addImageryProvider(url)</code></pre>
|
|
|
828
828
|
|
|
829
829
|
|
|
830
830
|
<footer>
|
|
831
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
831
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
832
832
|
</footer>
|
|
833
833
|
</div>
|
|
834
834
|
</div>
|
|
@@ -94,18 +94,14 @@
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>请参考以下示例:</h5>
|
|
98
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/analyse/compareAnalyse/roller-shutter' target='_blank'>1、卷帘</a><br>
|
|
99
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#vectorTile' target='_blank'>2、更多图层加载示例</a>
|
|
100
|
-
<h5>支持如下方法:</h5>
|
|
101
|
-
<a href='#fromUrl'>[1、通过ArcGIS矢量瓦片服务的url获取VectorTileImageryProvider对象]</a><br/></p>
|
|
102
|
-
|
|
103
97
|
</dt>
|
|
104
98
|
<dd>
|
|
105
99
|
|
|
106
100
|
|
|
107
101
|
<div class="description">
|
|
108
102
|
<p>ArcGIS矢量瓦片服务接入类,现已不支持通过构造函数(new ArcGISVectorTileImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p>
|
|
103
|
+
<p>该类用于将 ArcGIS VectorTileServer 服务转换为 Cesium 可加载的矢量瓦片影像提供器。
|
|
104
|
+
推荐通过 <code>fromUrl</code> 自动解析服务元信息并生成初始化参数。</p>
|
|
109
105
|
</div>
|
|
110
106
|
|
|
111
107
|
|
|
@@ -152,6 +148,23 @@
|
|
|
152
148
|
|
|
153
149
|
|
|
154
150
|
|
|
151
|
+
<h5>Example</h5>
|
|
152
|
+
|
|
153
|
+
<p class="code-caption"><h7>添加 ArcGIS 矢量瓦片图层</h7></p>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
158
|
+
const { ArcGISVectorTileImageryProvider } = zondy.cesium
|
|
159
|
+
|
|
160
|
+
// ES6引入方式
|
|
161
|
+
import { ArcGISVectorTileImageryProvider } from '@mapgis/webclient-cesium-plugin'
|
|
162
|
+
|
|
163
|
+
const imageryProvider = await ArcGISVectorTileImageryProvider.fromUrl(url)
|
|
164
|
+
viewer.imageryLayers.addImageryProvider(imageryProvider)</code></pre>
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
155
168
|
</dd>
|
|
156
169
|
|
|
157
170
|
|
|
@@ -185,7 +198,7 @@
|
|
|
185
198
|
|
|
186
199
|
|
|
187
200
|
<div class="tag-source">
|
|
188
|
-
engineExtensions/scene/imageryProvider/ArcGISVectorTileImageryProvider.js, line
|
|
201
|
+
engineExtensions/scene/imageryProvider/ArcGISVectorTileImageryProvider.js, line 66
|
|
189
202
|
</div>
|
|
190
203
|
|
|
191
204
|
</div>
|
|
@@ -1047,7 +1060,7 @@ addImageryProvider(url)</code></pre>
|
|
|
1047
1060
|
|
|
1048
1061
|
|
|
1049
1062
|
<footer>
|
|
1050
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1063
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
1051
1064
|
</footer>
|
|
1052
1065
|
</div>
|
|
1053
1066
|
</div>
|
|
@@ -1033,7 +1033,7 @@
|
|
|
1033
1033
|
|
|
1034
1034
|
|
|
1035
1035
|
<div class="tag-source">
|
|
1036
|
-
engineExtensions/scene/imageryProvider/BaseImageryProvider.js, line
|
|
1036
|
+
engineExtensions/scene/imageryProvider/BaseImageryProvider.js, line 73
|
|
1037
1037
|
</div>
|
|
1038
1038
|
|
|
1039
1039
|
</div>
|
|
@@ -1276,7 +1276,7 @@ undefined if there are too many active requests to the server, and the request s
|
|
|
1276
1276
|
|
|
1277
1277
|
|
|
1278
1278
|
<footer>
|
|
1279
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1279
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
1280
1280
|
</footer>
|
|
1281
1281
|
</div>
|
|
1282
1282
|
</div>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/material/Material.js, line
|
|
91
|
+
engineExtensions/material/Material.js, line 13
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
@@ -296,7 +296,7 @@ const material = new Material({
|
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
<footer>
|
|
299
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
299
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
300
300
|
</footer>
|
|
301
301
|
</div>
|
|
302
302
|
</div>
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
|
|
180
180
|
|
|
181
181
|
<div class="tag-source">
|
|
182
|
-
engineExtensions/scene/Viewer.js, line
|
|
182
|
+
engineExtensions/scene/Viewer.js, line 233
|
|
183
183
|
</div>
|
|
184
184
|
|
|
185
185
|
</div>
|
|
@@ -336,7 +336,7 @@ options.enableCompassOuterRing= true;</p></td>
|
|
|
336
336
|
|
|
337
337
|
|
|
338
338
|
<div class="tag-source">
|
|
339
|
-
engineExtensions/scene/Viewer.js, line
|
|
339
|
+
engineExtensions/scene/Viewer.js, line 21
|
|
340
340
|
</div>
|
|
341
341
|
|
|
342
342
|
</div>
|
|
@@ -518,7 +518,7 @@ options.enableCompassOuterRing= true;</p></td>
|
|
|
518
518
|
|
|
519
519
|
|
|
520
520
|
<div class="tag-source">
|
|
521
|
-
engineExtensions/scene/Viewer.js, line
|
|
521
|
+
engineExtensions/scene/Viewer.js, line 203
|
|
522
522
|
</div>
|
|
523
523
|
|
|
524
524
|
</div>
|
|
@@ -589,7 +589,7 @@ options.enableCompassOuterRing= true;</p></td>
|
|
|
589
589
|
|
|
590
590
|
|
|
591
591
|
<div class="tag-source">
|
|
592
|
-
engineExtensions/scene/Viewer.js, line
|
|
592
|
+
engineExtensions/scene/Viewer.js, line 41
|
|
593
593
|
</div>
|
|
594
594
|
|
|
595
595
|
</div>
|
|
@@ -907,7 +907,7 @@ options.enableCompassOuterRing= true;</p></td>
|
|
|
907
907
|
|
|
908
908
|
|
|
909
909
|
<footer>
|
|
910
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
910
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
911
911
|
</footer>
|
|
912
912
|
</div>
|
|
913
913
|
</div>
|