@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,27 +88,21 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line
|
|
91
|
+
engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 30
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>请参考以下示例:</h5>
|
|
98
|
-
<a href='#example1'>1、添加一个MapGIS矢量瓦片图层:原生接口开发</a><br>
|
|
99
|
-
<a href='http://10.10.130.72:8086/#/modules/cesium/analyse/compareAnalyse/roller-shutter' target='_blank'>2、卷帘</a><br>
|
|
100
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#vectorTile' target='_blank'>3、更多图层加载示例</a>
|
|
101
|
-
<h5>支持如下方法:</h5>
|
|
102
|
-
<a href='#fromUrl'>[1、通过URL来构造一个MapGISVectorTileImageryProvider对象]</a><br/>
|
|
103
|
-
<a href='#getLabelClass'>[2、获取注记的渲染模式]</a><br/>
|
|
104
|
-
<a href='#destroy'>[3、销毁MapGISVectorTileImageryProvider的相关事件和私有变量]</a><br/></p>
|
|
105
|
-
|
|
106
97
|
</dt>
|
|
107
98
|
<dd>
|
|
108
99
|
|
|
109
100
|
|
|
110
101
|
<div class="description">
|
|
111
102
|
<p>MapGIS矢量瓦片服务接入类</p>
|
|
103
|
+
<p>该类用于将 MapGIS 矢量瓦片服务适配为 Cesium 可加载的影像提供器,并在内部处理样式转换、瓦片队列和注记渲染。
|
|
104
|
+
适用于需要在三维场景中加载矢量瓦片并保留样式语义的场景。
|
|
105
|
+
调用方可通过 <code>labelsRenderMode</code> 控制注记渲染策略,并通过 <code>fromUrl</code> 快速完成服务初始化。</p>
|
|
112
106
|
</div>
|
|
113
107
|
|
|
114
108
|
|
|
@@ -155,7 +149,7 @@
|
|
|
155
149
|
|
|
156
150
|
<td class="description last">
|
|
157
151
|
|
|
158
|
-
<p
|
|
152
|
+
<p>初始化参数。</p>
|
|
159
153
|
|
|
160
154
|
|
|
161
155
|
<table class="params">
|
|
@@ -209,7 +203,7 @@
|
|
|
209
203
|
|
|
210
204
|
|
|
211
205
|
|
|
212
|
-
<p
|
|
206
|
+
<p>矢量瓦片样式对象,格式遵循 Mapbox Style 规范。</p></td>
|
|
213
207
|
</tr>
|
|
214
208
|
|
|
215
209
|
|
|
@@ -245,7 +239,7 @@
|
|
|
245
239
|
|
|
246
240
|
|
|
247
241
|
|
|
248
|
-
<p>Cesium
|
|
242
|
+
<p>Cesium 场景对象。</p></td>
|
|
249
243
|
</tr>
|
|
250
244
|
|
|
251
245
|
|
|
@@ -284,7 +278,7 @@
|
|
|
284
278
|
|
|
285
279
|
|
|
286
280
|
|
|
287
|
-
<p
|
|
281
|
+
<p>矢量瓦片平铺方案。</p></td>
|
|
288
282
|
</tr>
|
|
289
283
|
|
|
290
284
|
|
|
@@ -320,7 +314,7 @@
|
|
|
320
314
|
|
|
321
315
|
|
|
322
316
|
|
|
323
|
-
<p
|
|
317
|
+
<p>瓦片宽度。</p></td>
|
|
324
318
|
</tr>
|
|
325
319
|
|
|
326
320
|
|
|
@@ -356,7 +350,7 @@
|
|
|
356
350
|
|
|
357
351
|
|
|
358
352
|
|
|
359
|
-
<p
|
|
353
|
+
<p>瓦片高度。</p></td>
|
|
360
354
|
</tr>
|
|
361
355
|
|
|
362
356
|
|
|
@@ -392,7 +386,7 @@
|
|
|
392
386
|
|
|
393
387
|
|
|
394
388
|
|
|
395
|
-
<p
|
|
389
|
+
<p>图层显示范围,不设置时默认取平铺方案范围。</p></td>
|
|
396
390
|
</tr>
|
|
397
391
|
|
|
398
392
|
|
|
@@ -428,7 +422,7 @@
|
|
|
428
422
|
|
|
429
423
|
|
|
430
424
|
|
|
431
|
-
<p
|
|
425
|
+
<p>最小显示级别。</p></td>
|
|
432
426
|
</tr>
|
|
433
427
|
|
|
434
428
|
|
|
@@ -464,7 +458,7 @@
|
|
|
464
458
|
|
|
465
459
|
|
|
466
460
|
|
|
467
|
-
<p
|
|
461
|
+
<p>最大显示级别。</p></td>
|
|
468
462
|
</tr>
|
|
469
463
|
|
|
470
464
|
|
|
@@ -503,7 +497,7 @@
|
|
|
503
497
|
|
|
504
498
|
|
|
505
499
|
|
|
506
|
-
<p
|
|
500
|
+
<p>超出原始级别时是否拉伸最近一级图片继续显示。</p></td>
|
|
507
501
|
</tr>
|
|
508
502
|
|
|
509
503
|
|
|
@@ -539,7 +533,7 @@
|
|
|
539
533
|
|
|
540
534
|
|
|
541
535
|
|
|
542
|
-
<p>token
|
|
536
|
+
<p>token 参数名。</p></td>
|
|
543
537
|
</tr>
|
|
544
538
|
|
|
545
539
|
|
|
@@ -575,7 +569,7 @@
|
|
|
575
569
|
|
|
576
570
|
|
|
577
571
|
|
|
578
|
-
<p>token
|
|
572
|
+
<p>token 参数值。</p></td>
|
|
579
573
|
</tr>
|
|
580
574
|
|
|
581
575
|
|
|
@@ -611,7 +605,7 @@
|
|
|
611
605
|
|
|
612
606
|
|
|
613
607
|
|
|
614
|
-
<p
|
|
608
|
+
<p>像素缩放因子,即 canvas 像素到屏幕像素的比例。</p></td>
|
|
615
609
|
</tr>
|
|
616
610
|
|
|
617
611
|
|
|
@@ -647,7 +641,7 @@
|
|
|
647
641
|
|
|
648
642
|
|
|
649
643
|
|
|
650
|
-
<p
|
|
644
|
+
<p>绘制到 canvas 时使用的几何缩放矩阵。</p></td>
|
|
651
645
|
</tr>
|
|
652
646
|
|
|
653
647
|
|
|
@@ -681,7 +675,7 @@
|
|
|
681
675
|
|
|
682
676
|
|
|
683
677
|
|
|
684
|
-
<p
|
|
678
|
+
<p>子图层注记参数。</p></td>
|
|
685
679
|
</tr>
|
|
686
680
|
|
|
687
681
|
|
|
@@ -715,7 +709,7 @@
|
|
|
715
709
|
|
|
716
710
|
|
|
717
711
|
|
|
718
|
-
<p
|
|
712
|
+
<p>注记渲染模式。<code>on-screen</code> 表示实时渲染,<code>off-screen</code> 表示先渲染到图片后再显示。</p></td>
|
|
719
713
|
</tr>
|
|
720
714
|
|
|
721
715
|
|
|
@@ -749,7 +743,7 @@
|
|
|
749
743
|
|
|
750
744
|
|
|
751
745
|
|
|
752
|
-
<p
|
|
746
|
+
<p>图层加载成功后的回调承诺。</p></td>
|
|
753
747
|
</tr>
|
|
754
748
|
|
|
755
749
|
|
|
@@ -802,14 +796,13 @@
|
|
|
802
796
|
|
|
803
797
|
<h5>Example</h5>
|
|
804
798
|
|
|
805
|
-
<p class="code-caption"><h7 id='example1'>添加一个MapGIS矢量瓦片图层:原生接口开发</h7></p>
|
|
806
|
-
|
|
807
799
|
|
|
808
800
|
|
|
809
801
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
810
802
|
const { MapGISVectorTileImageryProvider } = zondy.cesium
|
|
803
|
+
|
|
811
804
|
// ES6引入方式
|
|
812
|
-
import { MapGISVectorTileImageryProvider } from
|
|
805
|
+
import { MapGISVectorTileImageryProvider } from '@mapgis/webclient-cesium-plugin'
|
|
813
806
|
|
|
814
807
|
const url = 'http://localhost:8089/igs/rest/services/VectorTile/example/VectorTileServer'
|
|
815
808
|
const addImageryProvider = async (url) => {
|
|
@@ -1042,7 +1035,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1042
1035
|
<dd>
|
|
1043
1036
|
|
|
1044
1037
|
<div class="description">
|
|
1045
|
-
<p
|
|
1038
|
+
<p>当前 provider 是否已完成初始化。</p>
|
|
1046
1039
|
</div>
|
|
1047
1040
|
|
|
1048
1041
|
|
|
@@ -1502,16 +1495,87 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1502
1495
|
|
|
1503
1496
|
<dl>
|
|
1504
1497
|
|
|
1498
|
+
<dt>
|
|
1499
|
+
<div class="nameContainer">
|
|
1500
|
+
<h4 class="name" id="destroy">
|
|
1501
|
+
|
|
1502
|
+
destroy<span class="signature">()</span>
|
|
1503
|
+
</h4>
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
<div class="tag-source">
|
|
1507
|
+
engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 934
|
|
1508
|
+
</div>
|
|
1509
|
+
|
|
1510
|
+
</div>
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
</dt>
|
|
1514
|
+
<dd>
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
<div class="description">
|
|
1518
|
+
<p>销毁 provider 持有的事件与注记图层资源。</p>
|
|
1519
|
+
</div>
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
<dl class="details">
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
</dl>
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
</dd>
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
|
|
1505
1569
|
<dt>
|
|
1506
1570
|
<div class="nameContainer">
|
|
1507
1571
|
<h4 class="name" id=".fromUrl">
|
|
1508
1572
|
|
|
1509
|
-
MapGISVectorTileImageryProvider.fromUrl<span class="signature">(url, options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{
|
|
1573
|
+
MapGISVectorTileImageryProvider.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="MapGISVectorTileImageryProvider.html">MapGISVectorTileImageryProvider</a>>}</span>
|
|
1510
1574
|
</h4>
|
|
1511
1575
|
|
|
1512
1576
|
|
|
1513
1577
|
<div class="tag-source">
|
|
1514
|
-
engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line
|
|
1578
|
+
engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 265
|
|
1515
1579
|
</div>
|
|
1516
1580
|
|
|
1517
1581
|
</div>
|
|
@@ -1522,7 +1586,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1522
1586
|
|
|
1523
1587
|
|
|
1524
1588
|
<div class="description">
|
|
1525
|
-
<p
|
|
1589
|
+
<p>根据服务地址加载矢量瓦片元信息并创建 provider。</p>
|
|
1526
1590
|
</div>
|
|
1527
1591
|
|
|
1528
1592
|
|
|
@@ -1543,6 +1607,8 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1543
1607
|
<th>Type</th>
|
|
1544
1608
|
|
|
1545
1609
|
|
|
1610
|
+
<th>Default</th>
|
|
1611
|
+
|
|
1546
1612
|
|
|
1547
1613
|
<th class="last">Description</th>
|
|
1548
1614
|
</tr>
|
|
@@ -1569,10 +1635,19 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1569
1635
|
</td>
|
|
1570
1636
|
|
|
1571
1637
|
|
|
1638
|
+
<td class="default">
|
|
1639
|
+
|
|
1640
|
+
</td>
|
|
1641
|
+
|
|
1572
1642
|
|
|
1573
1643
|
<td class="description last">
|
|
1574
1644
|
|
|
1575
|
-
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
|
|
1650
|
+
<p>矢量瓦片服务基地址。</p></td>
|
|
1576
1651
|
</tr>
|
|
1577
1652
|
|
|
1578
1653
|
|
|
@@ -1592,10 +1667,23 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1592
1667
|
</td>
|
|
1593
1668
|
|
|
1594
1669
|
|
|
1670
|
+
<td class="default">
|
|
1671
|
+
|
|
1672
|
+
{}
|
|
1673
|
+
|
|
1674
|
+
</td>
|
|
1675
|
+
|
|
1595
1676
|
|
|
1596
1677
|
<td class="description last">
|
|
1597
1678
|
|
|
1598
|
-
|
|
1679
|
+
|
|
1680
|
+
<span class="optional"> 可选</span>
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
<p>附加构造参数,支持覆盖服务元信息中的默认值。</p></td>
|
|
1599
1687
|
</tr>
|
|
1600
1688
|
|
|
1601
1689
|
|
|
@@ -1656,11 +1744,11 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1656
1744
|
|
|
1657
1745
|
<td class="type">
|
|
1658
1746
|
|
|
1659
|
-
|
|
1747
|
+
<a href="Promise.html">Promise</a>.<<a href="MapGISVectorTileImageryProvider.html">MapGISVectorTileImageryProvider</a>>
|
|
1660
1748
|
|
|
1661
1749
|
|
|
1662
1750
|
</td>
|
|
1663
|
-
<td class="description last"
|
|
1751
|
+
<td class="description last">已初始化的 provider 实例。</td>
|
|
1664
1752
|
</tr>
|
|
1665
1753
|
|
|
1666
1754
|
</tbody>
|
|
@@ -1677,12 +1765,12 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1677
1765
|
<div class="nameContainer">
|
|
1678
1766
|
<h4 class="name" id=".getLabelClass">
|
|
1679
1767
|
|
|
1680
|
-
MapGISVectorTileImageryProvider.getLabelClass<span class="signature">(sublayerLabelingInfos)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{LabelClass}</span>
|
|
1768
|
+
MapGISVectorTileImageryProvider.getLabelClass<span class="signature">(sublayerLabelingInfos)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{LabelClass|undefined}</span>
|
|
1681
1769
|
</h4>
|
|
1682
1770
|
|
|
1683
1771
|
|
|
1684
1772
|
<div class="tag-source">
|
|
1685
|
-
engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line
|
|
1773
|
+
engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 284
|
|
1686
1774
|
</div>
|
|
1687
1775
|
|
|
1688
1776
|
</div>
|
|
@@ -1693,7 +1781,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1693
1781
|
|
|
1694
1782
|
|
|
1695
1783
|
<div class="description">
|
|
1696
|
-
<p
|
|
1784
|
+
<p>从子图层注记配置中提取首个可用的 <code>LabelClass</code>。</p>
|
|
1697
1785
|
</div>
|
|
1698
1786
|
|
|
1699
1787
|
|
|
@@ -1740,7 +1828,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1740
1828
|
|
|
1741
1829
|
<td class="description last">
|
|
1742
1830
|
|
|
1743
|
-
<p
|
|
1831
|
+
<p>子图层注记初始化参数。</p></td>
|
|
1744
1832
|
</tr>
|
|
1745
1833
|
|
|
1746
1834
|
|
|
@@ -1802,10 +1890,13 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1802
1890
|
<td class="type">
|
|
1803
1891
|
|
|
1804
1892
|
LabelClass
|
|
1893
|
+
|
|
|
1894
|
+
|
|
1895
|
+
undefined
|
|
1805
1896
|
|
|
1806
1897
|
|
|
1807
1898
|
</td>
|
|
1808
|
-
<td class="description last"
|
|
1899
|
+
<td class="description last">命中的注记样式;若未配置则返回 <code>undefined</code>。</td>
|
|
1809
1900
|
</tr>
|
|
1810
1901
|
|
|
1811
1902
|
</tbody>
|
|
@@ -1814,77 +1905,6 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1814
1905
|
|
|
1815
1906
|
|
|
1816
1907
|
|
|
1817
|
-
</dd>
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
<dt>
|
|
1822
|
-
<div class="nameContainer">
|
|
1823
|
-
<h4 class="name" id="destroy">
|
|
1824
|
-
|
|
1825
|
-
destroy<span class="signature">()</span>
|
|
1826
|
-
</h4>
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
<div class="tag-source">
|
|
1830
|
-
engineExtensions/scene/imageryProvider/MapGISVectorTileImageryProvider.js, line 932
|
|
1831
|
-
</div>
|
|
1832
|
-
|
|
1833
|
-
</div>
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
</dt>
|
|
1837
|
-
<dd>
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
<div class="description">
|
|
1841
|
-
<p>销毁MapGISVectorTileImageryProvider的相关事件和私有变量<a id='destroy'/></p>
|
|
1842
|
-
</div>
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
<dl class="details">
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
</dl>
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
1908
|
</dd>
|
|
1889
1909
|
|
|
1890
1910
|
</dl>
|
|
@@ -1901,7 +1921,7 @@ off-screen表示通过先将注记渲染到图片上,再通过三维接口渲
|
|
|
1901
1921
|
|
|
1902
1922
|
|
|
1903
1923
|
<footer>
|
|
1904
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1924
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
1905
1925
|
</footer>
|
|
1906
1926
|
</div>
|
|
1907
1927
|
</div>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/tools/MeasureAreaTool.js, line
|
|
91
|
+
engineExtensions/tools/MeasureAreaTool.js, line 8
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
@@ -99,7 +99,9 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>面积测量工具。</p>
|
|
103
|
+
<p>该工具负责在 Cesium 场景中管理连续或单次的面积量算流程,并封装空间面积、
|
|
104
|
+
贴地面积、结果标注与清理控制。</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>Cesium 视图对象。</p></td>
|
|
150
152
|
</tr>
|
|
151
153
|
|
|
152
154
|
|
|
@@ -169,7 +171,7 @@
|
|
|
169
171
|
|
|
170
172
|
<td class="description last">
|
|
171
173
|
|
|
172
|
-
<p
|
|
174
|
+
<p>面积量算配置项。</p>
|
|
173
175
|
|
|
174
176
|
|
|
175
177
|
<table class="params">
|
|
@@ -223,7 +225,7 @@
|
|
|
223
225
|
|
|
224
226
|
|
|
225
227
|
|
|
226
|
-
<p
|
|
228
|
+
<p>量算结束回调,返回面积结果与量算坐标点。</p></td>
|
|
227
229
|
</tr>
|
|
228
230
|
|
|
229
231
|
|
|
@@ -259,7 +261,7 @@
|
|
|
259
261
|
|
|
260
262
|
|
|
261
263
|
|
|
262
|
-
<p
|
|
264
|
+
<p>标注内容回调,用于覆盖默认提示文字。</p></td>
|
|
263
265
|
</tr>
|
|
264
266
|
|
|
265
267
|
|
|
@@ -1227,6 +1229,42 @@
|
|
|
1227
1229
|
</tr>
|
|
1228
1230
|
|
|
1229
1231
|
|
|
1232
|
+
|
|
1233
|
+
<tr>
|
|
1234
|
+
|
|
1235
|
+
<td class="name"><code>enableAvoidance</code></td>
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
<td class="type">
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
<span class="param-type">Boolean</span>
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
</td>
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
<td class="default">
|
|
1249
|
+
|
|
1250
|
+
false
|
|
1251
|
+
|
|
1252
|
+
</td>
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
<td class="description last">
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
<span class="optional"> 可选</span>
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
<p>是否开启量算结果标签避让</p></td>
|
|
1265
|
+
</tr>
|
|
1266
|
+
|
|
1267
|
+
|
|
1230
1268
|
</tbody>
|
|
1231
1269
|
</table>
|
|
1232
1270
|
</td>
|
|
@@ -1287,6 +1325,7 @@
|
|
|
1287
1325
|
|
|
1288
1326
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1289
1327
|
const { MeasureAreaTool } = zondy.cesium
|
|
1328
|
+
|
|
1290
1329
|
// ES6引入方式
|
|
1291
1330
|
import { MeasureAreaTool } from "@mapgis/webclient-cesium-plugin"
|
|
1292
1331
|
|
|
@@ -1381,7 +1420,7 @@ measureAreaTool.startTool(); //开始测量
|
|
|
1381
1420
|
|
|
1382
1421
|
|
|
1383
1422
|
<div class="tag-source">
|
|
1384
|
-
engineExtensions/tools/MeasureAreaTool.js, line
|
|
1423
|
+
engineExtensions/tools/MeasureAreaTool.js, line 253
|
|
1385
1424
|
</div>
|
|
1386
1425
|
|
|
1387
1426
|
</div>
|
|
@@ -1392,7 +1431,7 @@ measureAreaTool.startTool(); //开始测量
|
|
|
1392
1431
|
|
|
1393
1432
|
|
|
1394
1433
|
<div class="description">
|
|
1395
|
-
<p
|
|
1434
|
+
<p>清除全部面积量算结果,并在允许连续绘制时重新进入激活状态。</p>
|
|
1396
1435
|
</div>
|
|
1397
1436
|
|
|
1398
1437
|
|
|
@@ -1452,7 +1491,7 @@ measureAreaTool.startTool(); //开始测量
|
|
|
1452
1491
|
|
|
1453
1492
|
|
|
1454
1493
|
<div class="tag-source">
|
|
1455
|
-
engineExtensions/tools/MeasureAreaTool.js, line
|
|
1494
|
+
engineExtensions/tools/MeasureAreaTool.js, line 138
|
|
1456
1495
|
</div>
|
|
1457
1496
|
|
|
1458
1497
|
</div>
|
|
@@ -1463,7 +1502,7 @@ measureAreaTool.startTool(); //开始测量
|
|
|
1463
1502
|
|
|
1464
1503
|
|
|
1465
1504
|
<div class="description">
|
|
1466
|
-
<p
|
|
1505
|
+
<p>激活面积量算流程并创建当前绘制工具。</p>
|
|
1467
1506
|
</div>
|
|
1468
1507
|
|
|
1469
1508
|
|
|
@@ -1523,7 +1562,7 @@ measureAreaTool.startTool(); //开始测量
|
|
|
1523
1562
|
|
|
1524
1563
|
|
|
1525
1564
|
<div class="tag-source">
|
|
1526
|
-
engineExtensions/tools/MeasureAreaTool.js, line
|
|
1565
|
+
engineExtensions/tools/MeasureAreaTool.js, line 234
|
|
1527
1566
|
</div>
|
|
1528
1567
|
|
|
1529
1568
|
</div>
|
|
@@ -1534,7 +1573,7 @@ measureAreaTool.startTool(); //开始测量
|
|
|
1534
1573
|
|
|
1535
1574
|
|
|
1536
1575
|
<div class="description">
|
|
1537
|
-
<p
|
|
1576
|
+
<p>停止面积量算。</p>
|
|
1538
1577
|
</div>
|
|
1539
1578
|
|
|
1540
1579
|
|
|
@@ -1596,7 +1635,7 @@ measureAreaTool.startTool(); //开始测量
|
|
|
1596
1635
|
|
|
1597
1636
|
|
|
1598
1637
|
|
|
1599
|
-
<p
|
|
1638
|
+
<p>是否保留当前量算结果;默认 <code>false</code>,会同时清理结果与交互状态。</p></td>
|
|
1600
1639
|
</tr>
|
|
1601
1640
|
|
|
1602
1641
|
|
|
@@ -1657,7 +1696,7 @@ measureAreaTool.startTool(); //开始测量
|
|
|
1657
1696
|
|
|
1658
1697
|
|
|
1659
1698
|
<footer>
|
|
1660
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1699
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
1661
1700
|
</footer>
|
|
1662
1701
|
</div>
|
|
1663
1702
|
</div>
|