@mapgis/webclient-cesium-plugin 17.8.1 → 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 -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,26 +88,18 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/analysis/ThemeManager.js, line
|
|
91
|
+
engineExtensions/analysis/ThemeManager.js, line 3
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>请参考以下示例:</h5>
|
|
98
|
-
<a href='#example1'>1、统计图</a>
|
|
99
|
-
<h5>支持如下方法:</h5>
|
|
100
|
-
<a href='#query'>[1、查询]</a><br/>
|
|
101
|
-
<a href='#addByQueryResult'>[1、根据查询结果添加专题图]</a><br/>
|
|
102
|
-
<a href='#addByGeoJson'>[1、根据统一的geoJson格式添加专题图]</a><br/>
|
|
103
|
-
<a href='#remove'>[1、删除专题图]</a><br/></p>
|
|
104
|
-
|
|
105
97
|
</dt>
|
|
106
98
|
<dd>
|
|
107
99
|
|
|
108
100
|
|
|
109
101
|
<div class="description">
|
|
110
|
-
<p
|
|
102
|
+
<p>统计图管理对象,用于根据查询结果或 GeoJSON 数据生成柱状图、饼图等专题图效果。</p>
|
|
111
103
|
</div>
|
|
112
104
|
|
|
113
105
|
|
|
@@ -154,7 +146,7 @@
|
|
|
154
146
|
|
|
155
147
|
<td class="description last">
|
|
156
148
|
|
|
157
|
-
<p>场景视图对象,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html' target='_blank'>详见Cesium.Viewer</a
|
|
149
|
+
<p>场景视图对象,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html' target='_blank'>详见 Cesium.Viewer</a>。</p></td>
|
|
158
150
|
</tr>
|
|
159
151
|
|
|
160
152
|
|
|
@@ -177,7 +169,7 @@
|
|
|
177
169
|
|
|
178
170
|
<td class="description last">
|
|
179
171
|
|
|
180
|
-
<p
|
|
172
|
+
<p>附加参数。</p>
|
|
181
173
|
|
|
182
174
|
|
|
183
175
|
<table class="params">
|
|
@@ -231,7 +223,7 @@
|
|
|
231
223
|
|
|
232
224
|
|
|
233
225
|
|
|
234
|
-
<p
|
|
226
|
+
<p>用于查询的服务 URL。</p></td>
|
|
235
227
|
</tr>
|
|
236
228
|
|
|
237
229
|
|
|
@@ -267,7 +259,7 @@
|
|
|
267
259
|
|
|
268
260
|
|
|
269
261
|
|
|
270
|
-
<p
|
|
262
|
+
<p>查询成功后的回调函数。</p></td>
|
|
271
263
|
</tr>
|
|
272
264
|
|
|
273
265
|
|
|
@@ -303,7 +295,7 @@
|
|
|
303
295
|
|
|
304
296
|
|
|
305
297
|
|
|
306
|
-
<p
|
|
298
|
+
<p>查询失败或绘制失败时的回调函数。</p></td>
|
|
307
299
|
</tr>
|
|
308
300
|
|
|
309
301
|
|
|
@@ -339,7 +331,7 @@
|
|
|
339
331
|
|
|
340
332
|
|
|
341
333
|
|
|
342
|
-
<p
|
|
334
|
+
<p>自定义材质。</p></td>
|
|
343
335
|
</tr>
|
|
344
336
|
|
|
345
337
|
|
|
@@ -375,7 +367,7 @@
|
|
|
375
367
|
|
|
376
368
|
|
|
377
369
|
|
|
378
|
-
<p
|
|
370
|
+
<p>显示柱状体或饼状体的宽度。</p></td>
|
|
379
371
|
</tr>
|
|
380
372
|
|
|
381
373
|
|
|
@@ -411,7 +403,7 @@
|
|
|
411
403
|
|
|
412
404
|
|
|
413
405
|
|
|
414
|
-
<p
|
|
406
|
+
<p>柱状图或饼状体的高度缩放比例。</p></td>
|
|
415
407
|
</tr>
|
|
416
408
|
|
|
417
409
|
|
|
@@ -447,7 +439,7 @@
|
|
|
447
439
|
|
|
448
440
|
|
|
449
441
|
|
|
450
|
-
<p
|
|
442
|
+
<p>是否为饼状体添加高度。</p></td>
|
|
451
443
|
</tr>
|
|
452
444
|
|
|
453
445
|
|
|
@@ -483,7 +475,7 @@
|
|
|
483
475
|
|
|
484
476
|
|
|
485
477
|
|
|
486
|
-
<p>解析
|
|
478
|
+
<p>解析 GeoJSON 数据时,是否同时绘制多边形 Geometry。</p></td>
|
|
487
479
|
</tr>
|
|
488
480
|
|
|
489
481
|
|
|
@@ -519,7 +511,7 @@
|
|
|
519
511
|
|
|
520
512
|
|
|
521
513
|
|
|
522
|
-
<p
|
|
514
|
+
<p>用于显示的属性名数组。</p></td>
|
|
523
515
|
</tr>
|
|
524
516
|
|
|
525
517
|
|
|
@@ -555,7 +547,7 @@
|
|
|
555
547
|
|
|
556
548
|
|
|
557
549
|
|
|
558
|
-
<p
|
|
550
|
+
<p>各个属性对应的颜色数组。</p></td>
|
|
559
551
|
</tr>
|
|
560
552
|
|
|
561
553
|
|
|
@@ -591,7 +583,7 @@
|
|
|
591
583
|
|
|
592
584
|
|
|
593
585
|
|
|
594
|
-
<p
|
|
586
|
+
<p>标注字体。</p></td>
|
|
595
587
|
</tr>
|
|
596
588
|
|
|
597
589
|
|
|
@@ -627,7 +619,7 @@
|
|
|
627
619
|
|
|
628
620
|
|
|
629
621
|
|
|
630
|
-
<p>标注颜色,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html?classFilter=Color' target='_blank'>详见Cesium.Color</a
|
|
622
|
+
<p>标注颜色,<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/index.html?classFilter=Color' target='_blank'>详见 Cesium.Color</a>。</p></td>
|
|
631
623
|
</tr>
|
|
632
624
|
|
|
633
625
|
|
|
@@ -663,7 +655,7 @@
|
|
|
663
655
|
|
|
664
656
|
|
|
665
657
|
|
|
666
|
-
<p
|
|
658
|
+
<p>标注在不同距离下的可见性缩放配置。</p></td>
|
|
667
659
|
</tr>
|
|
668
660
|
|
|
669
661
|
|
|
@@ -699,7 +691,7 @@
|
|
|
699
691
|
|
|
700
692
|
|
|
701
693
|
|
|
702
|
-
<p
|
|
694
|
+
<p>标注高度偏移值。</p></td>
|
|
703
695
|
</tr>
|
|
704
696
|
|
|
705
697
|
|
|
@@ -761,8 +753,9 @@ http://10.10.130.72:8086/#/modules/cesium/visualization/themeLayer/statistic
|
|
|
761
753
|
|
|
762
754
|
// ES5引入方式
|
|
763
755
|
const { ThemeManager } = zondy.cesium
|
|
756
|
+
|
|
764
757
|
// ES6引入方式
|
|
765
|
-
import { ThemeManager } from
|
|
758
|
+
import { ThemeManager } from '@mapgis/webclient-cesium-plugin'
|
|
766
759
|
|
|
767
760
|
// 1 初始化一个统计专题图对象
|
|
768
761
|
const themeManager = new zondy.cesium.ThemeManager(
|
|
@@ -1297,12 +1290,12 @@ themeManager.addByGeoJson(
|
|
|
1297
1290
|
<div class="nameContainer">
|
|
1298
1291
|
<h4 class="name" id="addByGeoJson">
|
|
1299
1292
|
|
|
1300
|
-
addByGeoJson<span class="signature">(geoJson, themeType)</span>
|
|
1293
|
+
addByGeoJson<span class="signature">(geoJson, themeType)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Boolean}</span>
|
|
1301
1294
|
</h4>
|
|
1302
1295
|
|
|
1303
1296
|
|
|
1304
1297
|
<div class="tag-source">
|
|
1305
|
-
engineExtensions/analysis/ThemeManager.js, line
|
|
1298
|
+
engineExtensions/analysis/ThemeManager.js, line 533
|
|
1306
1299
|
</div>
|
|
1307
1300
|
|
|
1308
1301
|
</div>
|
|
@@ -1313,7 +1306,7 @@ themeManager.addByGeoJson(
|
|
|
1313
1306
|
|
|
1314
1307
|
|
|
1315
1308
|
<div class="description">
|
|
1316
|
-
<p>根据统一的
|
|
1309
|
+
<p>根据统一的 GeoJSON 格式数据添加专题图。<a id='addByGeoJson'/></p>
|
|
1317
1310
|
</div>
|
|
1318
1311
|
|
|
1319
1312
|
|
|
@@ -1360,7 +1353,7 @@ themeManager.addByGeoJson(
|
|
|
1360
1353
|
|
|
1361
1354
|
<td class="description last">
|
|
1362
1355
|
|
|
1363
|
-
<p>
|
|
1356
|
+
<p>GeoJSON 格式数据。</p></td>
|
|
1364
1357
|
</tr>
|
|
1365
1358
|
|
|
1366
1359
|
|
|
@@ -1383,7 +1376,7 @@ themeManager.addByGeoJson(
|
|
|
1383
1376
|
|
|
1384
1377
|
<td class="description last">
|
|
1385
1378
|
|
|
1386
|
-
<p
|
|
1379
|
+
<p>专题图类型,如 <code>HorizontalColumn</code>、<code>VerticalColumn</code> 或 <code>Pie</code>。</p></td>
|
|
1387
1380
|
</tr>
|
|
1388
1381
|
|
|
1389
1382
|
|
|
@@ -1426,6 +1419,35 @@ themeManager.addByGeoJson(
|
|
|
1426
1419
|
|
|
1427
1420
|
|
|
1428
1421
|
|
|
1422
|
+
<h5>Returns:</h5>
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
<table class="params">
|
|
1427
|
+
<thead>
|
|
1428
|
+
<tr>
|
|
1429
|
+
|
|
1430
|
+
<th>Type</th>
|
|
1431
|
+
<th class="last">Description</th>
|
|
1432
|
+
</tr>
|
|
1433
|
+
</thead>
|
|
1434
|
+
<tbody>
|
|
1435
|
+
|
|
1436
|
+
<tr>
|
|
1437
|
+
|
|
1438
|
+
<td class="type">
|
|
1439
|
+
|
|
1440
|
+
Boolean
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
</td>
|
|
1444
|
+
<td class="description last">是否成功完成专题图创建。</td>
|
|
1445
|
+
</tr>
|
|
1446
|
+
|
|
1447
|
+
</tbody>
|
|
1448
|
+
</table>
|
|
1449
|
+
|
|
1450
|
+
|
|
1429
1451
|
|
|
1430
1452
|
|
|
1431
1453
|
</dd>
|
|
@@ -1436,12 +1458,12 @@ themeManager.addByGeoJson(
|
|
|
1436
1458
|
<div class="nameContainer">
|
|
1437
1459
|
<h4 class="name" id="addByQueryResult">
|
|
1438
1460
|
|
|
1439
|
-
addByQueryResult<span class="signature">(themeType)</span>
|
|
1461
|
+
addByQueryResult<span class="signature">(themeType)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Boolean}</span>
|
|
1440
1462
|
</h4>
|
|
1441
1463
|
|
|
1442
1464
|
|
|
1443
1465
|
<div class="tag-source">
|
|
1444
|
-
engineExtensions/analysis/ThemeManager.js, line
|
|
1466
|
+
engineExtensions/analysis/ThemeManager.js, line 406
|
|
1445
1467
|
</div>
|
|
1446
1468
|
|
|
1447
1469
|
</div>
|
|
@@ -1452,7 +1474,7 @@ themeManager.addByGeoJson(
|
|
|
1452
1474
|
|
|
1453
1475
|
|
|
1454
1476
|
<div class="description">
|
|
1455
|
-
<p
|
|
1477
|
+
<p>根据当前缓存的查询结果添加专题图。<a id='addByQueryResult'/></p>
|
|
1456
1478
|
</div>
|
|
1457
1479
|
|
|
1458
1480
|
|
|
@@ -1499,7 +1521,7 @@ themeManager.addByGeoJson(
|
|
|
1499
1521
|
|
|
1500
1522
|
<td class="description last">
|
|
1501
1523
|
|
|
1502
|
-
<p
|
|
1524
|
+
<p>专题图类型,如 <code>HorizontalColumn</code>、<code>VerticalColumn</code> 或 <code>Pie</code>。</p></td>
|
|
1503
1525
|
</tr>
|
|
1504
1526
|
|
|
1505
1527
|
|
|
@@ -1542,6 +1564,35 @@ themeManager.addByGeoJson(
|
|
|
1542
1564
|
|
|
1543
1565
|
|
|
1544
1566
|
|
|
1567
|
+
<h5>Returns:</h5>
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
<table class="params">
|
|
1572
|
+
<thead>
|
|
1573
|
+
<tr>
|
|
1574
|
+
|
|
1575
|
+
<th>Type</th>
|
|
1576
|
+
<th class="last">Description</th>
|
|
1577
|
+
</tr>
|
|
1578
|
+
</thead>
|
|
1579
|
+
<tbody>
|
|
1580
|
+
|
|
1581
|
+
<tr>
|
|
1582
|
+
|
|
1583
|
+
<td class="type">
|
|
1584
|
+
|
|
1585
|
+
Boolean
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
</td>
|
|
1589
|
+
<td class="description last">是否成功完成专题图创建。</td>
|
|
1590
|
+
</tr>
|
|
1591
|
+
|
|
1592
|
+
</tbody>
|
|
1593
|
+
</table>
|
|
1594
|
+
|
|
1595
|
+
|
|
1545
1596
|
|
|
1546
1597
|
|
|
1547
1598
|
</dd>
|
|
@@ -1557,7 +1608,7 @@ themeManager.addByGeoJson(
|
|
|
1557
1608
|
|
|
1558
1609
|
|
|
1559
1610
|
<div class="tag-source">
|
|
1560
|
-
engineExtensions/analysis/ThemeManager.js, line
|
|
1611
|
+
engineExtensions/analysis/ThemeManager.js, line 354
|
|
1561
1612
|
</div>
|
|
1562
1613
|
|
|
1563
1614
|
</div>
|
|
@@ -1568,7 +1619,7 @@ themeManager.addByGeoJson(
|
|
|
1568
1619
|
|
|
1569
1620
|
|
|
1570
1621
|
<div class="description">
|
|
1571
|
-
<p
|
|
1622
|
+
<p>执行一次 Rest 服务查询,并将结果缓存到当前统计图对象中。<a id='query'/></p>
|
|
1572
1623
|
</div>
|
|
1573
1624
|
|
|
1574
1625
|
|
|
@@ -1615,7 +1666,7 @@ themeManager.addByGeoJson(
|
|
|
1615
1666
|
|
|
1616
1667
|
<td class="description last">
|
|
1617
1668
|
|
|
1618
|
-
<p>Rest服务查询
|
|
1669
|
+
<p>Rest 服务查询 URL。</p></td>
|
|
1619
1670
|
</tr>
|
|
1620
1671
|
|
|
1621
1672
|
|
|
@@ -1673,7 +1724,7 @@ themeManager.addByGeoJson(
|
|
|
1673
1724
|
|
|
1674
1725
|
|
|
1675
1726
|
<div class="tag-source">
|
|
1676
|
-
engineExtensions/analysis/ThemeManager.js, line
|
|
1727
|
+
engineExtensions/analysis/ThemeManager.js, line 837
|
|
1677
1728
|
</div>
|
|
1678
1729
|
|
|
1679
1730
|
</div>
|
|
@@ -1684,7 +1735,7 @@ themeManager.addByGeoJson(
|
|
|
1684
1735
|
|
|
1685
1736
|
|
|
1686
1737
|
<div class="description">
|
|
1687
|
-
<p
|
|
1738
|
+
<p>删除当前对象创建的专题图、标注和辅助实体,并重置统计图状态。<a id='remove'/></p>
|
|
1688
1739
|
</div>
|
|
1689
1740
|
|
|
1690
1741
|
|
|
@@ -1747,7 +1798,7 @@ themeManager.addByGeoJson(
|
|
|
1747
1798
|
|
|
1748
1799
|
|
|
1749
1800
|
<footer>
|
|
1750
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1801
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
1751
1802
|
</footer>
|
|
1752
1803
|
</div>
|
|
1753
1804
|
</div>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/tools/Tooltip.js, line
|
|
91
|
+
engineExtensions/tools/Tooltip.js, line 1
|
|
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
|
+
通过外部 DOM 覆盖默认气泡结构。</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>提示气泡挂载的容器元素,通常传入 <code>viewer.container</code>。</p></td>
|
|
150
152
|
</tr>
|
|
151
153
|
|
|
152
154
|
|
|
@@ -169,7 +171,7 @@
|
|
|
169
171
|
|
|
170
172
|
<td class="description last">
|
|
171
173
|
|
|
172
|
-
|
|
174
|
+
<p>Tooltip 配置项。</p>
|
|
173
175
|
|
|
174
176
|
|
|
175
177
|
<table class="params">
|
|
@@ -215,7 +217,7 @@
|
|
|
215
217
|
|
|
216
218
|
|
|
217
219
|
|
|
218
|
-
<p
|
|
220
|
+
<p>自定义的提示框 DOM 节点,传入后将复用该节点而不是创建默认结构。</p></td>
|
|
219
221
|
</tr>
|
|
220
222
|
|
|
221
223
|
|
|
@@ -273,6 +275,21 @@
|
|
|
273
275
|
|
|
274
276
|
|
|
275
277
|
|
|
278
|
+
<h5>Example</h5>
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
283
|
+
const { Tooltip } = zondy.cesium
|
|
284
|
+
|
|
285
|
+
// ES6引入方式
|
|
286
|
+
import { Tooltip } from '@mapgis/webclient-cesium-plugin'
|
|
287
|
+
|
|
288
|
+
const tooltip = new Tooltip(viewer.container)
|
|
289
|
+
tooltip.showAt(new Cesium.Cartesian2(120, 80), '拖动以继续绘制')</code></pre>
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
276
293
|
</dd>
|
|
277
294
|
|
|
278
295
|
|
|
@@ -306,7 +323,7 @@
|
|
|
306
323
|
|
|
307
324
|
|
|
308
325
|
<div class="tag-source">
|
|
309
|
-
engineExtensions/tools/Tooltip.js, line
|
|
326
|
+
engineExtensions/tools/Tooltip.js, line 125
|
|
310
327
|
</div>
|
|
311
328
|
|
|
312
329
|
</div>
|
|
@@ -317,7 +334,7 @@
|
|
|
317
334
|
|
|
318
335
|
|
|
319
336
|
<div class="description">
|
|
320
|
-
<p
|
|
337
|
+
<p>销毁 Tooltip 创建的 DOM 与样式资源。</p>
|
|
321
338
|
</div>
|
|
322
339
|
|
|
323
340
|
|
|
@@ -377,7 +394,7 @@
|
|
|
377
394
|
|
|
378
395
|
|
|
379
396
|
<div class="tag-source">
|
|
380
|
-
engineExtensions/tools/Tooltip.js, line
|
|
397
|
+
engineExtensions/tools/Tooltip.js, line 74
|
|
381
398
|
</div>
|
|
382
399
|
|
|
383
400
|
</div>
|
|
@@ -388,7 +405,7 @@
|
|
|
388
405
|
|
|
389
406
|
|
|
390
407
|
<div class="description">
|
|
391
|
-
<p
|
|
408
|
+
<p>设置提示气泡的显隐状态。</p>
|
|
392
409
|
</div>
|
|
393
410
|
|
|
394
411
|
|
|
@@ -435,7 +452,7 @@
|
|
|
435
452
|
|
|
436
453
|
<td class="description last">
|
|
437
454
|
|
|
438
|
-
<p
|
|
455
|
+
<p>是否显示提示气泡。</p></td>
|
|
439
456
|
</tr>
|
|
440
457
|
|
|
441
458
|
|
|
@@ -493,7 +510,7 @@
|
|
|
493
510
|
|
|
494
511
|
|
|
495
512
|
<div class="tag-source">
|
|
496
|
-
engineExtensions/tools/Tooltip.js, line
|
|
513
|
+
engineExtensions/tools/Tooltip.js, line 84
|
|
497
514
|
</div>
|
|
498
515
|
|
|
499
516
|
</div>
|
|
@@ -504,7 +521,7 @@
|
|
|
504
521
|
|
|
505
522
|
|
|
506
523
|
<div class="description">
|
|
507
|
-
<p
|
|
524
|
+
<p>在指定屏幕坐标处显示提示气泡。</p>
|
|
508
525
|
</div>
|
|
509
526
|
|
|
510
527
|
|
|
@@ -551,7 +568,7 @@
|
|
|
551
568
|
|
|
552
569
|
<td class="description last">
|
|
553
570
|
|
|
554
|
-
<p
|
|
571
|
+
<p>提示气泡的屏幕坐标位置。</p></td>
|
|
555
572
|
</tr>
|
|
556
573
|
|
|
557
574
|
|
|
@@ -574,7 +591,7 @@
|
|
|
574
591
|
|
|
575
592
|
<td class="description last">
|
|
576
593
|
|
|
577
|
-
<p
|
|
594
|
+
<p>需要展示的提示内容。</p></td>
|
|
578
595
|
</tr>
|
|
579
596
|
|
|
580
597
|
|
|
@@ -632,7 +649,7 @@
|
|
|
632
649
|
|
|
633
650
|
|
|
634
651
|
<div class="tag-source">
|
|
635
|
-
engineExtensions/tools/Tooltip.js, line
|
|
652
|
+
engineExtensions/tools/Tooltip.js, line 115
|
|
636
653
|
</div>
|
|
637
654
|
|
|
638
655
|
</div>
|
|
@@ -643,7 +660,7 @@
|
|
|
643
660
|
|
|
644
661
|
|
|
645
662
|
<div class="description">
|
|
646
|
-
<p
|
|
663
|
+
<p>更新提示气泡的位置。</p>
|
|
647
664
|
</div>
|
|
648
665
|
|
|
649
666
|
|
|
@@ -690,7 +707,7 @@
|
|
|
690
707
|
|
|
691
708
|
<td class="description last">
|
|
692
709
|
|
|
693
|
-
<p
|
|
710
|
+
<p>提示气泡的屏幕坐标位置。</p></td>
|
|
694
711
|
</tr>
|
|
695
712
|
|
|
696
713
|
|
|
@@ -751,7 +768,7 @@
|
|
|
751
768
|
|
|
752
769
|
|
|
753
770
|
<footer>
|
|
754
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
771
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
755
772
|
</footer>
|
|
756
773
|
</div>
|
|
757
774
|
</div>
|