@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
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<div class="nameContainer">
|
|
84
84
|
<h4 class="name" id="Graphic">
|
|
85
85
|
|
|
86
|
-
new Graphic<span class="signature">(options)</span>
|
|
86
|
+
new Graphic<span class="signature">(<span class="optional">options</span>)</span>
|
|
87
87
|
</h4>
|
|
88
88
|
|
|
89
89
|
|
|
@@ -94,20 +94,15 @@
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
<p class="summary"><h5>支持如下方法:</h5>
|
|
98
|
-
<a href='#addAttributes'>[1、给图元添加属性字段]</a><br/></p>
|
|
99
|
-
|
|
100
97
|
</dt>
|
|
101
98
|
<dd>
|
|
102
99
|
|
|
103
100
|
|
|
104
101
|
<div class="description">
|
|
105
|
-
<p
|
|
106
|
-
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
<a href='#example3'>3、新增一个类型为div的标绘对象</a><br>
|
|
110
|
-
<a href='http://10.10.130.72:8086/#/example-gallery/cesium#tdGraphBase' target='_blank'>4、更多示例</a></p>
|
|
102
|
+
<p>标绘图元对象。</p>
|
|
103
|
+
<p>该类用于表达单个可交互图形元素,负责维护图元几何、样式、属性和姿态变换信息。
|
|
104
|
+
图元既可以由 <code>GraphicsLayer</code> 统一管理,也可以在创建后独立修改样式、属性和空间姿态。
|
|
105
|
+
典型场景包括点线面绘制、模型标注和 DIV 图元展示。</p>
|
|
111
106
|
</div>
|
|
112
107
|
|
|
113
108
|
|
|
@@ -128,6 +123,8 @@
|
|
|
128
123
|
<th>Type</th>
|
|
129
124
|
|
|
130
125
|
|
|
126
|
+
<th>Default</th>
|
|
127
|
+
|
|
131
128
|
|
|
132
129
|
<th class="last">Description</th>
|
|
133
130
|
</tr>
|
|
@@ -151,10 +148,23 @@
|
|
|
151
148
|
</td>
|
|
152
149
|
|
|
153
150
|
|
|
151
|
+
<td class="default">
|
|
152
|
+
|
|
153
|
+
{}
|
|
154
|
+
|
|
155
|
+
</td>
|
|
156
|
+
|
|
154
157
|
|
|
155
158
|
<td class="description last">
|
|
156
159
|
|
|
160
|
+
|
|
161
|
+
<span class="optional"> 可选</span>
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
157
166
|
|
|
167
|
+
<p>构造参数。</p>
|
|
158
168
|
|
|
159
169
|
|
|
160
170
|
<table class="params">
|
|
@@ -206,7 +216,7 @@
|
|
|
206
216
|
|
|
207
217
|
|
|
208
218
|
|
|
209
|
-
<p
|
|
219
|
+
<p>图元类型,参见 <a href="Graphic.html#.graphicType"><code>Graphic.graphicType</code></a>。</p></td>
|
|
210
220
|
</tr>
|
|
211
221
|
|
|
212
222
|
|
|
@@ -240,7 +250,7 @@
|
|
|
240
250
|
|
|
241
251
|
|
|
242
252
|
|
|
243
|
-
<p
|
|
253
|
+
<p>图元唯一标识。</p></td>
|
|
244
254
|
</tr>
|
|
245
255
|
|
|
246
256
|
|
|
@@ -277,7 +287,7 @@
|
|
|
277
287
|
|
|
278
288
|
|
|
279
289
|
|
|
280
|
-
<p
|
|
290
|
+
<p>图元坐标集合。可传入 <code>Cesium.Cartesian3</code> 数组,或按 <code>[lng, lat, height, ...]</code> 组织的经纬高数组。</p></td>
|
|
281
291
|
</tr>
|
|
282
292
|
|
|
283
293
|
|
|
@@ -311,7 +321,7 @@
|
|
|
311
321
|
|
|
312
322
|
|
|
313
323
|
|
|
314
|
-
<p
|
|
324
|
+
<p>图元样式配置,详情参见 <a href="Style.html"><code>Style</code></a>。</p></td>
|
|
315
325
|
</tr>
|
|
316
326
|
|
|
317
327
|
|
|
@@ -345,7 +355,7 @@
|
|
|
345
355
|
|
|
346
356
|
|
|
347
357
|
|
|
348
|
-
<p
|
|
358
|
+
<p>控制点样式配置,详情参见 <a href="Style.html#.EditPointStyle"><code>Style.EditPointStyle</code></a>。</p></td>
|
|
349
359
|
</tr>
|
|
350
360
|
|
|
351
361
|
|
|
@@ -379,7 +389,7 @@
|
|
|
379
389
|
|
|
380
390
|
|
|
381
391
|
|
|
382
|
-
<p
|
|
392
|
+
<p>图元附带的业务属性。</p></td>
|
|
383
393
|
</tr>
|
|
384
394
|
|
|
385
395
|
|
|
@@ -413,7 +423,7 @@
|
|
|
413
423
|
|
|
414
424
|
|
|
415
425
|
|
|
416
|
-
<p
|
|
426
|
+
<p>图元名称。</p></td>
|
|
417
427
|
</tr>
|
|
418
428
|
|
|
419
429
|
|
|
@@ -449,7 +459,7 @@
|
|
|
449
459
|
|
|
450
460
|
|
|
451
461
|
|
|
452
|
-
<p
|
|
462
|
+
<p>图元是否默认显示。</p></td>
|
|
453
463
|
</tr>
|
|
454
464
|
|
|
455
465
|
|
|
@@ -485,7 +495,7 @@
|
|
|
485
495
|
|
|
486
496
|
|
|
487
497
|
|
|
488
|
-
<p
|
|
498
|
+
<p>是否使用异步 primitive 更新。</p></td>
|
|
489
499
|
</tr>
|
|
490
500
|
|
|
491
501
|
|
|
@@ -521,7 +531,7 @@
|
|
|
521
531
|
|
|
522
532
|
|
|
523
533
|
|
|
524
|
-
<p
|
|
534
|
+
<p>偏航角,单位为弧度。</p></td>
|
|
525
535
|
</tr>
|
|
526
536
|
|
|
527
537
|
|
|
@@ -557,7 +567,7 @@
|
|
|
557
567
|
|
|
558
568
|
|
|
559
569
|
|
|
560
|
-
<p
|
|
570
|
+
<p>俯仰角,单位为弧度。</p></td>
|
|
561
571
|
</tr>
|
|
562
572
|
|
|
563
573
|
|
|
@@ -593,7 +603,7 @@
|
|
|
593
603
|
|
|
594
604
|
|
|
595
605
|
|
|
596
|
-
<p
|
|
606
|
+
<p>翻滚角,单位为弧度。</p></td>
|
|
597
607
|
</tr>
|
|
598
608
|
|
|
599
609
|
|
|
@@ -629,7 +639,7 @@
|
|
|
629
639
|
|
|
630
640
|
|
|
631
641
|
|
|
632
|
-
<p>局部坐标系X
|
|
642
|
+
<p>局部坐标系 X 方向平移量,单位米。</p></td>
|
|
633
643
|
</tr>
|
|
634
644
|
|
|
635
645
|
|
|
@@ -665,7 +675,7 @@
|
|
|
665
675
|
|
|
666
676
|
|
|
667
677
|
|
|
668
|
-
<p>局部坐标系Y
|
|
678
|
+
<p>局部坐标系 Y 方向平移量,单位米。</p></td>
|
|
669
679
|
</tr>
|
|
670
680
|
|
|
671
681
|
|
|
@@ -701,7 +711,7 @@
|
|
|
701
711
|
|
|
702
712
|
|
|
703
713
|
|
|
704
|
-
<p>局部坐标系Z
|
|
714
|
+
<p>局部坐标系 Z 方向平移量,单位米。</p></td>
|
|
705
715
|
</tr>
|
|
706
716
|
|
|
707
717
|
|
|
@@ -737,7 +747,7 @@
|
|
|
737
747
|
|
|
738
748
|
|
|
739
749
|
|
|
740
|
-
<p
|
|
750
|
+
<p>是否开启模型内部视锥体检测,仅对 <code>div</code> 图元生效。</p></td>
|
|
741
751
|
</tr>
|
|
742
752
|
|
|
743
753
|
|
|
@@ -773,7 +783,7 @@
|
|
|
773
783
|
|
|
774
784
|
|
|
775
785
|
|
|
776
|
-
<p
|
|
786
|
+
<p><code>div</code> 图元与相机距离超过该值时自动隐藏。</p></td>
|
|
777
787
|
</tr>
|
|
778
788
|
|
|
779
789
|
|
|
@@ -832,12 +842,12 @@
|
|
|
832
842
|
|
|
833
843
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
834
844
|
const { GraphicsLayer, Graphic } = zondy.cesium
|
|
845
|
+
|
|
835
846
|
// ES6引入方式
|
|
836
|
-
import { GraphicsLayer, Graphic } from
|
|
847
|
+
import { GraphicsLayer, Graphic } from '@mapgis/webclient-cesium-plugin'
|
|
837
848
|
|
|
838
849
|
//初始化一个标绘图层
|
|
839
|
-
const graphicsLayer = new GraphicsLayer(viewer, {})
|
|
840
|
-
viewer.scene.layers.appendGraphicsLayer(graphicsLayer);
|
|
850
|
+
const graphicsLayer = new GraphicsLayer(viewer, {})
|
|
841
851
|
//添加一个Marker基础标绘对象
|
|
842
852
|
const marker = new Graphic({
|
|
843
853
|
//类型
|
|
@@ -867,13 +877,13 @@ const marker = new Graphic({
|
|
|
867
877
|
//marker的屏幕像素偏移
|
|
868
878
|
pixelOffset: new Cesium.Cartesian2(0, 0)
|
|
869
879
|
},
|
|
870
|
-
})
|
|
880
|
+
})
|
|
871
881
|
//添加Marker
|
|
872
|
-
graphicsLayer.addGraphic(marker)
|
|
882
|
+
graphicsLayer.addGraphic(marker)
|
|
873
883
|
//修改样式
|
|
874
|
-
marker.style.labelPlaceType =
|
|
875
|
-
marker.style.labelStyle.fillColor = Cesium.Color.BLUE
|
|
876
|
-
marker.style.billboardStyle.width = 100
|
|
884
|
+
marker.style.labelPlaceType = 'leftCenter'
|
|
885
|
+
marker.style.labelStyle.fillColor = Cesium.Color.BLUE
|
|
886
|
+
marker.style.billboardStyle.width = 100</code></pre>
|
|
877
887
|
|
|
878
888
|
|
|
879
889
|
<p class="code-caption"><h7 id='example2'>添加一个多边形图元</h7></p>
|
|
@@ -882,12 +892,12 @@ marker.style.billboardStyle.width = 100;</code></pre>
|
|
|
882
892
|
|
|
883
893
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
884
894
|
const { GraphicsLayer, Graphic } = zondy.cesium
|
|
895
|
+
|
|
885
896
|
// ES6引入方式
|
|
886
|
-
import { GraphicsLayer, Graphic } from
|
|
897
|
+
import { GraphicsLayer, Graphic } from '@mapgis/webclient-cesium-plugin'
|
|
887
898
|
|
|
888
899
|
//初始化一个标绘图层
|
|
889
|
-
const graphicsLayer = new GraphicsLayer(viewer, {})
|
|
890
|
-
viewer.scene.layers.appendGraphicsLayer(graphicsLayer);
|
|
900
|
+
const graphicsLayer = new GraphicsLayer(viewer, {})
|
|
891
901
|
|
|
892
902
|
// 添加一个多边形图元
|
|
893
903
|
const polygonGraphic = new Graphic({
|
|
@@ -902,9 +912,9 @@ const polygonGraphic = new Graphic({
|
|
|
902
912
|
style: {
|
|
903
913
|
color: Cesium.Color.AQUA
|
|
904
914
|
}
|
|
905
|
-
})
|
|
915
|
+
})
|
|
906
916
|
//将标绘点添加入标绘图层
|
|
907
|
-
graphicsLayer.addGraphic(polygonGraphic)
|
|
917
|
+
graphicsLayer.addGraphic(polygonGraphic)
|
|
908
918
|
//平移多边形,修改transformX、transformY、transformZ,三个值组成一个平移向量,朝这个方向平移,笛卡尔坐标
|
|
909
919
|
polygonGraphic.transformX += 100;
|
|
910
920
|
polygonGraphic.transformY += 2000;
|
|
@@ -930,6 +940,7 @@ polygonGraphic.roll += 0.1;</code></pre>
|
|
|
930
940
|
|
|
931
941
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
932
942
|
const { GraphicsLayer, Graphic } = zondy.cesium
|
|
943
|
+
|
|
933
944
|
// ES6引入方式
|
|
934
945
|
import { GraphicsLayer, Graphic } from "@mapgis/webclient-cesium-plugin"
|
|
935
946
|
|
|
@@ -987,7 +998,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
987
998
|
|
|
988
999
|
<dt>
|
|
989
1000
|
<div class="nameContainer">
|
|
990
|
-
<h4 class="name" id="
|
|
1001
|
+
<h4 class="name" id="allowPicking">allowPicking<span class="type-signature type boolean">Boolean</span> </h4>
|
|
991
1002
|
</div>
|
|
992
1003
|
|
|
993
1004
|
|
|
@@ -995,7 +1006,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
995
1006
|
<dd>
|
|
996
1007
|
|
|
997
1008
|
<div class="description">
|
|
998
|
-
<p
|
|
1009
|
+
<p>图形对象是否可以选中</p>
|
|
999
1010
|
</div>
|
|
1000
1011
|
|
|
1001
1012
|
|
|
@@ -1003,590 +1014,454 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1003
1014
|
<dl class="details">
|
|
1004
1015
|
|
|
1005
1016
|
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
<table class="props">
|
|
1011
|
-
<thead>
|
|
1012
|
-
<tr>
|
|
1013
|
-
|
|
1014
|
-
<th>Name</th>
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
<th>Type</th>
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1018
1020
|
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
<td class="type">
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
<span class="param-type">String</span>
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
</dl>
|
|
1040
1037
|
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
</dd>
|
|
1041
1041
|
|
|
1042
|
+
|
|
1042
1043
|
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
><code>marker</code></td>
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
<td class="type">
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
<span class="param-type">String</span>
|
|
1071
|
-
|
|
1044
|
+
<dt>
|
|
1045
|
+
<div class="nameContainer">
|
|
1046
|
+
<h4 class="name" id="asynchronous">asynchronous<span class="type-signature type boolean">Boolean</span> </h4>
|
|
1047
|
+
</div>
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
</dt>
|
|
1051
|
+
<dd>
|
|
1052
|
+
|
|
1053
|
+
<div class="description">
|
|
1054
|
+
<p>图形对象是否阻塞更新,一般设置为false避免更新时闪烁</p>
|
|
1055
|
+
</div>
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
<dl class="details">
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1072
1065
|
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
<tr>
|
|
1093
|
-
|
|
1094
|
-
<td class="name"
|
|
1095
|
-
><code>label</code></td>
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
<td class="type">
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
<span class="param-type">String</span>
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
</dl>
|
|
1102
1082
|
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
</dd>
|
|
1103
1086
|
|
|
1087
|
+
|
|
1104
1088
|
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1089
|
+
<dt>
|
|
1090
|
+
<div class="nameContainer">
|
|
1091
|
+
<h4 class="name" id="attributes">attributes<span class="type-signature type object">Object</span> </h4>
|
|
1092
|
+
</div>
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
</dt>
|
|
1096
|
+
<dd>
|
|
1097
|
+
|
|
1098
|
+
<div class="description">
|
|
1099
|
+
<p>图形对象属性键值对</p>
|
|
1100
|
+
</div>
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
<dl class="details">
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
</dl>
|
|
1133
1127
|
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
</dd>
|
|
1134
1131
|
|
|
1132
|
+
|
|
1135
1133
|
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
><code>polyline</code></td>
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
<td class="type">
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
<span class="param-type">String</span>
|
|
1164
|
-
|
|
1134
|
+
<dt>
|
|
1135
|
+
<div class="nameContainer">
|
|
1136
|
+
<h4 class="name" id="boundingSphere">boundingSphere<span class="type-signature type cesium.boundingsphere">Cesium.BoundingSphere</span> </h4>
|
|
1137
|
+
</div>
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
</dt>
|
|
1141
|
+
<dd>
|
|
1142
|
+
|
|
1143
|
+
<div class="description">
|
|
1144
|
+
<p>图元对象包围盒</p>
|
|
1145
|
+
</div>
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
<dl class="details">
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
|
|
1165
1155
|
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
<tr>
|
|
1186
|
-
|
|
1187
|
-
<td class="name"
|
|
1188
|
-
><code>polylineVolume</code></td>
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
<td class="type">
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
<span class="param-type">String</span>
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
</dl>
|
|
1195
1172
|
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
</dd>
|
|
1196
1176
|
|
|
1177
|
+
|
|
1197
1178
|
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
><code>polygon</code></td>
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
<td class="type">
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
<span class="param-type">String</span>
|
|
1226
|
-
|
|
1179
|
+
<dt>
|
|
1180
|
+
<div class="nameContainer">
|
|
1181
|
+
<h4 class="name" id="coordinate">coordinate<span class="type-signature type array.<cesium.cartesian3>">Array.<Cesium.Cartesian3></span> </h4>
|
|
1182
|
+
</div>
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
</dt>
|
|
1186
|
+
<dd>
|
|
1187
|
+
|
|
1188
|
+
<div class="description">
|
|
1189
|
+
<p>图形实体位置数组(经纬度+高程,度)</p>
|
|
1190
|
+
</div>
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
<dl class="details">
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
|
|
1227
1200
|
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
<tr>
|
|
1248
|
-
|
|
1249
|
-
<td class="name"
|
|
1250
|
-
><code>rectangle</code></td>
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
<td class="type">
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
<span class="param-type">String</span>
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
</dl>
|
|
1257
1217
|
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
</dd>
|
|
1258
1221
|
|
|
1222
|
+
|
|
1259
1223
|
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
><code>square</code></td>
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
<td class="type">
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
<span class="param-type">String</span>
|
|
1288
|
-
|
|
1224
|
+
<dt>
|
|
1225
|
+
<div class="nameContainer">
|
|
1226
|
+
<h4 class="name" id="editing">editing<span class="type-signature type boolean">Boolean</span> </h4>
|
|
1227
|
+
</div>
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
</dt>
|
|
1231
|
+
<dd>
|
|
1232
|
+
|
|
1233
|
+
<div class="description">
|
|
1234
|
+
<p>图形对象是否在编辑状态</p>
|
|
1235
|
+
</div>
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
<dl class="details">
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1289
1245
|
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
<tr>
|
|
1310
|
-
|
|
1311
|
-
<td class="name"
|
|
1312
|
-
><code>circle</code></td>
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
<td class="type">
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
<span class="param-type">String</span>
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
</dl>
|
|
1319
1262
|
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
</dd>
|
|
1320
1266
|
|
|
1267
|
+
|
|
1321
1268
|
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
><code>corridor</code></td>
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
<td class="type">
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
<span class="param-type">String</span>
|
|
1350
|
-
|
|
1269
|
+
<dt>
|
|
1270
|
+
<div class="nameContainer">
|
|
1271
|
+
<h4 class="name" id="enableVFC">enableVFC<span class="type-signature type boolean">Boolean</span> </h4>
|
|
1272
|
+
</div>
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
</dt>
|
|
1276
|
+
<dd>
|
|
1277
|
+
|
|
1278
|
+
<div class="description">
|
|
1279
|
+
<p>是否开启视锥体检测,仅当类型为div时生效</p>
|
|
1280
|
+
</div>
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
<dl class="details">
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
|
|
1351
1290
|
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
<tr>
|
|
1372
|
-
|
|
1373
|
-
<td class="name"
|
|
1374
|
-
><code>cylinder</code></td>
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
<td class="type">
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
<span class="param-type">String</span>
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
</dl>
|
|
1381
1307
|
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
</dd>
|
|
1382
1311
|
|
|
1312
|
+
|
|
1383
1313
|
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
><code>ellipsoid</code></td>
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
<td class="type">
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
<span class="param-type">String</span>
|
|
1412
|
-
|
|
1314
|
+
<dt>
|
|
1315
|
+
<div class="nameContainer">
|
|
1316
|
+
<h4 class="name" id="heading">heading<span class="type-signature type number">Number</span> </h4>
|
|
1317
|
+
</div>
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
</dt>
|
|
1321
|
+
<dd>
|
|
1322
|
+
|
|
1323
|
+
<div class="description">
|
|
1324
|
+
<p>图形对象偏航角,弧度。</p>
|
|
1325
|
+
</div>
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
<dl class="details">
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
|
|
1413
1335
|
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
<tr>
|
|
1434
|
-
|
|
1435
|
-
<td class="name"
|
|
1436
|
-
><code>sphere</code></td>
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
<td class="type">
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
<span class="param-type">String</span>
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
</dl>
|
|
1443
1352
|
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
</dd>
|
|
1444
1356
|
|
|
1357
|
+
|
|
1445
1358
|
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
><code>wall</code></td>
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
<td class="type">
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
<span class="param-type">String</span>
|
|
1474
|
-
|
|
1359
|
+
<dt>
|
|
1360
|
+
<div class="nameContainer">
|
|
1361
|
+
<h4 class="name" id="id">id<span class="type-signature type string">String</span> </h4>
|
|
1362
|
+
</div>
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
</dt>
|
|
1366
|
+
<dd>
|
|
1367
|
+
|
|
1368
|
+
<div class="description">
|
|
1369
|
+
<p>图形ID</p>
|
|
1370
|
+
</div>
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
<dl class="details">
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
|
|
1475
1380
|
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
<tr>
|
|
1496
|
-
|
|
1497
|
-
<td class="name"
|
|
1498
|
-
><code>box</code></td>
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
<td class="type">
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
<span class="param-type">String</span>
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
</dl>
|
|
1505
1397
|
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
</dd>
|
|
1506
1401
|
|
|
1402
|
+
|
|
1507
1403
|
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
><code>model</code></td>
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
<td class="type">
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
<span class="param-type">String</span>
|
|
1536
|
-
|
|
1404
|
+
<dt>
|
|
1405
|
+
<div class="nameContainer">
|
|
1406
|
+
<h4 class="name" id="isPoint">isPoint<span class="type-signature type boolean">Boolean</span> </h4>
|
|
1407
|
+
</div>
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
</dt>
|
|
1411
|
+
<dd>
|
|
1412
|
+
|
|
1413
|
+
<div class="description">
|
|
1414
|
+
<p>图形是否为点,文本或者广告牌</p>
|
|
1415
|
+
</div>
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
<dl class="details">
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
|
|
1537
1425
|
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
<tr>
|
|
1558
|
-
|
|
1559
|
-
<td class="name"
|
|
1560
|
-
><code>dynamicRiver</code></td>
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
<td class="type">
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
<span class="param-type">String</span>
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
</dl>
|
|
1567
1442
|
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
</dd>
|
|
1568
1446
|
|
|
1569
|
-
|
|
1570
|
-
</td>
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
<td class="default">
|
|
1574
|
-
|
|
1575
|
-
'dynamicRiver'
|
|
1576
|
-
|
|
1577
|
-
</td>
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
<td class="description last">
|
|
1582
|
-
<span class="optional">可选</span>
|
|
1583
|
-
<p>河流,类型(type)为dynamicRiver时样式参数参照<a href="Style.html#.RiverStyle"><code>Style.RiverStyle</code></a></p></td>
|
|
1584
|
-
</tr>
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
</tbody>
|
|
1588
|
-
</table></dl>
|
|
1589
1447
|
|
|
1448
|
+
|
|
1449
|
+
<dt>
|
|
1450
|
+
<div class="nameContainer">
|
|
1451
|
+
<h4 class="name" id="modelMatrix">modelMatrix<span class="type-signature type cesium.matrix4">Cesium.Matrix4</span> </h4>
|
|
1452
|
+
</div>
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
</dt>
|
|
1456
|
+
<dd>
|
|
1457
|
+
|
|
1458
|
+
<div class="description">
|
|
1459
|
+
<p>图元对象旋转平移矩阵</p>
|
|
1460
|
+
</div>
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
<dl class="details">
|
|
1590
1465
|
|
|
1591
1466
|
|
|
1592
1467
|
|
|
@@ -1618,7 +1493,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1618
1493
|
|
|
1619
1494
|
<dt>
|
|
1620
1495
|
<div class="nameContainer">
|
|
1621
|
-
<h4 class="name" id="
|
|
1496
|
+
<h4 class="name" id="name">name<span class="type-signature type number">Number</span> </h4>
|
|
1622
1497
|
</div>
|
|
1623
1498
|
|
|
1624
1499
|
|
|
@@ -1626,7 +1501,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1626
1501
|
<dd>
|
|
1627
1502
|
|
|
1628
1503
|
<div class="description">
|
|
1629
|
-
<p
|
|
1504
|
+
<p>图形对象名称</p>
|
|
1630
1505
|
</div>
|
|
1631
1506
|
|
|
1632
1507
|
|
|
@@ -1663,7 +1538,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1663
1538
|
|
|
1664
1539
|
<dt>
|
|
1665
1540
|
<div class="nameContainer">
|
|
1666
|
-
<h4 class="name" id="
|
|
1541
|
+
<h4 class="name" id="parentLayer">parentLayer<span class="type-signature type graphicslayer"><a href="GraphicsLayer.html">GraphicsLayer</a></span> </h4>
|
|
1667
1542
|
</div>
|
|
1668
1543
|
|
|
1669
1544
|
|
|
@@ -1671,7 +1546,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1671
1546
|
<dd>
|
|
1672
1547
|
|
|
1673
1548
|
<div class="description">
|
|
1674
|
-
<p
|
|
1549
|
+
<p>图元父图层</p>
|
|
1675
1550
|
</div>
|
|
1676
1551
|
|
|
1677
1552
|
|
|
@@ -1708,7 +1583,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1708
1583
|
|
|
1709
1584
|
<dt>
|
|
1710
1585
|
<div class="nameContainer">
|
|
1711
|
-
<h4 class="name" id="
|
|
1586
|
+
<h4 class="name" id="pitch">pitch<span class="type-signature type number">Number</span> </h4>
|
|
1712
1587
|
</div>
|
|
1713
1588
|
|
|
1714
1589
|
|
|
@@ -1716,7 +1591,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1716
1591
|
<dd>
|
|
1717
1592
|
|
|
1718
1593
|
<div class="description">
|
|
1719
|
-
<p
|
|
1594
|
+
<p>图形对象俯仰角,弧度。</p>
|
|
1720
1595
|
</div>
|
|
1721
1596
|
|
|
1722
1597
|
|
|
@@ -1753,7 +1628,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1753
1628
|
|
|
1754
1629
|
<dt>
|
|
1755
1630
|
<div class="nameContainer">
|
|
1756
|
-
<h4 class="name" id="
|
|
1631
|
+
<h4 class="name" id="positions">positions<span class="type-signature type array.<cesium.cartesian3>">Array.<Cesium.Cartesian3></span> </h4>
|
|
1757
1632
|
</div>
|
|
1758
1633
|
|
|
1759
1634
|
|
|
@@ -1761,7 +1636,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1761
1636
|
<dd>
|
|
1762
1637
|
|
|
1763
1638
|
<div class="description">
|
|
1764
|
-
<p
|
|
1639
|
+
<p>图形实体位置数组</p>
|
|
1765
1640
|
</div>
|
|
1766
1641
|
|
|
1767
1642
|
|
|
@@ -1798,7 +1673,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1798
1673
|
|
|
1799
1674
|
<dt>
|
|
1800
1675
|
<div class="nameContainer">
|
|
1801
|
-
<h4 class="name" id="
|
|
1676
|
+
<h4 class="name" id="primitive">primitive<span class="type-signature type cesium.primitive">Cesium.Primitive</span> </h4>
|
|
1802
1677
|
</div>
|
|
1803
1678
|
|
|
1804
1679
|
|
|
@@ -1806,7 +1681,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1806
1681
|
<dd>
|
|
1807
1682
|
|
|
1808
1683
|
<div class="description">
|
|
1809
|
-
<p
|
|
1684
|
+
<p>图形对象primitive</p>
|
|
1810
1685
|
</div>
|
|
1811
1686
|
|
|
1812
1687
|
|
|
@@ -1843,7 +1718,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1843
1718
|
|
|
1844
1719
|
<dt>
|
|
1845
1720
|
<div class="nameContainer">
|
|
1846
|
-
<h4 class="name" id="
|
|
1721
|
+
<h4 class="name" id="roll">roll<span class="type-signature type number">Number</span> </h4>
|
|
1847
1722
|
</div>
|
|
1848
1723
|
|
|
1849
1724
|
|
|
@@ -1851,7 +1726,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1851
1726
|
<dd>
|
|
1852
1727
|
|
|
1853
1728
|
<div class="description">
|
|
1854
|
-
<p
|
|
1729
|
+
<p>图形对象翻滚角,弧度。</p>
|
|
1855
1730
|
</div>
|
|
1856
1731
|
|
|
1857
1732
|
|
|
@@ -1888,7 +1763,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1888
1763
|
|
|
1889
1764
|
<dt>
|
|
1890
1765
|
<div class="nameContainer">
|
|
1891
|
-
<h4 class="name" id="
|
|
1766
|
+
<h4 class="name" id="show">show<span class="type-signature type boolean">Boolean</span> </h4>
|
|
1892
1767
|
</div>
|
|
1893
1768
|
|
|
1894
1769
|
|
|
@@ -1896,7 +1771,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1896
1771
|
<dd>
|
|
1897
1772
|
|
|
1898
1773
|
<div class="description">
|
|
1899
|
-
<p
|
|
1774
|
+
<p>图形是否显示</p>
|
|
1900
1775
|
</div>
|
|
1901
1776
|
|
|
1902
1777
|
|
|
@@ -1933,7 +1808,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1933
1808
|
|
|
1934
1809
|
<dt>
|
|
1935
1810
|
<div class="nameContainer">
|
|
1936
|
-
<h4 class="name" id="
|
|
1811
|
+
<h4 class="name" id="style">style<span class="type-signature type style"><a href="Style.html">Style</a></span> </h4>
|
|
1937
1812
|
</div>
|
|
1938
1813
|
|
|
1939
1814
|
|
|
@@ -1941,7 +1816,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1941
1816
|
<dd>
|
|
1942
1817
|
|
|
1943
1818
|
<div class="description">
|
|
1944
|
-
<p
|
|
1819
|
+
<p>图元对象样式信息</p>
|
|
1945
1820
|
</div>
|
|
1946
1821
|
|
|
1947
1822
|
|
|
@@ -1972,13 +1847,22 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1972
1847
|
|
|
1973
1848
|
|
|
1974
1849
|
|
|
1850
|
+
<h5>Example</h5>
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
<pre class="prettyprint"><code>var graphic = new Graphic({type:label,style:{text:'mapgis'}});
|
|
1855
|
+
graphic.style.text = 'mapgispro';</code></pre>
|
|
1856
|
+
|
|
1857
|
+
|
|
1858
|
+
|
|
1975
1859
|
</dd>
|
|
1976
1860
|
|
|
1977
1861
|
|
|
1978
1862
|
|
|
1979
1863
|
<dt>
|
|
1980
1864
|
<div class="nameContainer">
|
|
1981
|
-
<h4 class="name" id="
|
|
1865
|
+
<h4 class="name" id="transformX">transformX<span class="type-signature type number">Number</span> </h4>
|
|
1982
1866
|
</div>
|
|
1983
1867
|
|
|
1984
1868
|
|
|
@@ -1986,7 +1870,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1986
1870
|
<dd>
|
|
1987
1871
|
|
|
1988
1872
|
<div class="description">
|
|
1989
|
-
<p
|
|
1873
|
+
<p>图形对象局部坐标系X方向平移量,单位米,X方向为纬线方向</p>
|
|
1990
1874
|
</div>
|
|
1991
1875
|
|
|
1992
1876
|
|
|
@@ -2023,7 +1907,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2023
1907
|
|
|
2024
1908
|
<dt>
|
|
2025
1909
|
<div class="nameContainer">
|
|
2026
|
-
<h4 class="name" id="
|
|
1910
|
+
<h4 class="name" id="transformY">transformY<span class="type-signature type number">Number</span> </h4>
|
|
2027
1911
|
</div>
|
|
2028
1912
|
|
|
2029
1913
|
|
|
@@ -2031,7 +1915,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2031
1915
|
<dd>
|
|
2032
1916
|
|
|
2033
1917
|
<div class="description">
|
|
2034
|
-
<p
|
|
1918
|
+
<p>图形对象局部坐标系y方向平移量,单位米,y方向为经线方向</p>
|
|
2035
1919
|
</div>
|
|
2036
1920
|
|
|
2037
1921
|
|
|
@@ -2068,7 +1952,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2068
1952
|
|
|
2069
1953
|
<dt>
|
|
2070
1954
|
<div class="nameContainer">
|
|
2071
|
-
<h4 class="name" id="
|
|
1955
|
+
<h4 class="name" id="transformZ">transformZ<span class="type-signature type number">Number</span> </h4>
|
|
2072
1956
|
</div>
|
|
2073
1957
|
|
|
2074
1958
|
|
|
@@ -2076,7 +1960,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2076
1960
|
<dd>
|
|
2077
1961
|
|
|
2078
1962
|
<div class="description">
|
|
2079
|
-
<p
|
|
1963
|
+
<p>图形对象局部坐标系z方向平移量,单位米,z方向为垂直地表方向</p>
|
|
2080
1964
|
</div>
|
|
2081
1965
|
|
|
2082
1966
|
|
|
@@ -2113,7 +1997,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2113
1997
|
|
|
2114
1998
|
<dt>
|
|
2115
1999
|
<div class="nameContainer">
|
|
2116
|
-
<h4 class="name" id="
|
|
2000
|
+
<h4 class="name" id="type">type<span class="type-signature type string">String</span> </h4>
|
|
2117
2001
|
</div>
|
|
2118
2002
|
|
|
2119
2003
|
|
|
@@ -2121,7 +2005,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2121
2005
|
<dd>
|
|
2122
2006
|
|
|
2123
2007
|
<div class="description">
|
|
2124
|
-
<p
|
|
2008
|
+
<p>图元类型 参照<a href="Graphic.html#.graphicType"><code>Graphic.graphicType</code></a></p>
|
|
2125
2009
|
</div>
|
|
2126
2010
|
|
|
2127
2011
|
|
|
@@ -2158,7 +2042,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2158
2042
|
|
|
2159
2043
|
<dt>
|
|
2160
2044
|
<div class="nameContainer">
|
|
2161
|
-
<h4 class="name" id="
|
|
2045
|
+
<h4 class="name" id="updated">updated<span class="type-signature type function">function</span> </h4>
|
|
2162
2046
|
</div>
|
|
2163
2047
|
|
|
2164
2048
|
|
|
@@ -2166,7 +2050,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2166
2050
|
<dd>
|
|
2167
2051
|
|
|
2168
2052
|
<div class="description">
|
|
2169
|
-
<p
|
|
2053
|
+
<p>图形更新后的回调,请在这个回调里面获取图形参数,不要在vue上绑定图形对象</p>
|
|
2170
2054
|
</div>
|
|
2171
2055
|
|
|
2172
2056
|
|
|
@@ -2203,7 +2087,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2203
2087
|
|
|
2204
2088
|
<dt>
|
|
2205
2089
|
<div class="nameContainer">
|
|
2206
|
-
<h4 class="name" id="
|
|
2090
|
+
<h4 class="name" id=".graphicType">Graphic.graphicType</h4>
|
|
2207
2091
|
</div>
|
|
2208
2092
|
|
|
2209
2093
|
|
|
@@ -2211,7 +2095,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2211
2095
|
<dd>
|
|
2212
2096
|
|
|
2213
2097
|
<div class="description">
|
|
2214
|
-
<p
|
|
2098
|
+
<p>图元类型</p>
|
|
2215
2099
|
</div>
|
|
2216
2100
|
|
|
2217
2101
|
|
|
@@ -2219,463 +2103,590 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2219
2103
|
<dl class="details">
|
|
2220
2104
|
|
|
2221
2105
|
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2106
|
+
<h5 class="subsection-title">Properties:</h5>
|
|
2107
|
+
|
|
2108
|
+
<dl>
|
|
2225
2109
|
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
</
|
|
2110
|
+
<table class="props">
|
|
2111
|
+
<thead>
|
|
2112
|
+
<tr>
|
|
2113
|
+
|
|
2114
|
+
<th>Name</th>
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
<th>Type</th>
|
|
2118
|
+
|
|
2119
|
+
|
|
2120
|
+
<th>Default</th>
|
|
2121
|
+
|
|
2122
|
+
|
|
2123
|
+
<th class="last">Description</th>
|
|
2124
|
+
</tr>
|
|
2125
|
+
</thead>
|
|
2126
|
+
|
|
2127
|
+
<tbody>
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
<tr>
|
|
2131
|
+
|
|
2132
|
+
<td class="name"
|
|
2133
|
+
><code>point</code></td>
|
|
2134
|
+
|
|
2135
|
+
|
|
2136
|
+
<td class="type">
|
|
2137
|
+
|
|
2138
|
+
|
|
2139
|
+
<span class="param-type">String</span>
|
|
2140
|
+
|
|
2141
|
+
|
|
2142
|
+
|
|
2143
|
+
</td>
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
<td class="default">
|
|
2147
|
+
|
|
2148
|
+
'point'
|
|
2149
|
+
|
|
2150
|
+
</td>
|
|
2151
|
+
|
|
2152
|
+
|
|
2153
|
+
|
|
2154
|
+
<td class="description last">
|
|
2155
|
+
<span class="optional">可选</span>
|
|
2156
|
+
<p>点,类型(type)为point时样式参数参照<a href="Style.html#.PointStyle"><code>Style.PointStyle</code></a></p></td>
|
|
2157
|
+
</tr>
|
|
2158
|
+
|
|
2159
|
+
|
|
2160
|
+
|
|
2161
|
+
<tr>
|
|
2162
|
+
|
|
2163
|
+
<td class="name"
|
|
2164
|
+
><code>marker</code></td>
|
|
2165
|
+
|
|
2166
|
+
|
|
2167
|
+
<td class="type">
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
<span class="param-type">String</span>
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
|
|
2174
|
+
</td>
|
|
2175
|
+
|
|
2176
|
+
|
|
2177
|
+
<td class="default">
|
|
2178
|
+
|
|
2179
|
+
'marker'
|
|
2180
|
+
|
|
2181
|
+
</td>
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
<td class="description last">
|
|
2186
|
+
<span class="optional">可选</span>
|
|
2187
|
+
<p>marker,类型(type)为marker时样式参数参照<a href="Style.html#.MarkerStyle"><code>Style.MarkerStyle</code></a></p></td>
|
|
2188
|
+
</tr>
|
|
2189
|
+
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
<tr>
|
|
2193
|
+
|
|
2194
|
+
<td class="name"
|
|
2195
|
+
><code>label</code></td>
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
<td class="type">
|
|
2199
|
+
|
|
2200
|
+
|
|
2201
|
+
<span class="param-type">String</span>
|
|
2202
|
+
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
</td>
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
<td class="default">
|
|
2209
|
+
|
|
2210
|
+
'label'
|
|
2211
|
+
|
|
2212
|
+
</td>
|
|
2213
|
+
|
|
2214
|
+
|
|
2215
|
+
|
|
2216
|
+
<td class="description last">
|
|
2217
|
+
<span class="optional">可选</span>
|
|
2218
|
+
<p>文本,类型(type)为label时样式参数参照<code>Style.Cesium.LabelStyle</code></p></td>
|
|
2219
|
+
</tr>
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
<tr>
|
|
2224
|
+
|
|
2225
|
+
<td class="name"
|
|
2226
|
+
><code>billboard</code></td>
|
|
2227
|
+
|
|
2228
|
+
|
|
2229
|
+
<td class="type">
|
|
2230
|
+
|
|
2231
|
+
|
|
2232
|
+
<span class="param-type">String</span>
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
|
|
2236
|
+
</td>
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
<td class="default">
|
|
2240
|
+
|
|
2241
|
+
'billboard'
|
|
2242
|
+
|
|
2243
|
+
</td>
|
|
2244
|
+
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
<td class="description last">
|
|
2248
|
+
<span class="optional">可选</span>
|
|
2249
|
+
<p>广告牌,类型(type)为billboard时样式参数参照<a href="Style.html#.BillboardStyle"><code>Style.BillboardStyle</code></a></p></td>
|
|
2250
|
+
</tr>
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
|
|
2254
|
+
<tr>
|
|
2255
|
+
|
|
2256
|
+
<td class="name"
|
|
2257
|
+
><code>polyline</code></td>
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
<td class="type">
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
<span class="param-type">String</span>
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
|
|
2267
|
+
</td>
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
<td class="default">
|
|
2271
|
+
|
|
2272
|
+
'polyline'
|
|
2273
|
+
|
|
2274
|
+
</td>
|
|
2275
|
+
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
<td class="description last">
|
|
2279
|
+
<span class="optional">可选</span>
|
|
2280
|
+
<p>线,类型(type)为polyline时样式参数参照<a href="Style.html#.PolylineStyle"><code>Style.PolylineStyle</code></a></p></td>
|
|
2281
|
+
</tr>
|
|
2282
|
+
|
|
2283
|
+
|
|
2284
|
+
|
|
2285
|
+
<tr>
|
|
2286
|
+
|
|
2287
|
+
<td class="name"
|
|
2288
|
+
><code>polylineVolume</code></td>
|
|
2289
|
+
|
|
2290
|
+
|
|
2291
|
+
<td class="type">
|
|
2292
|
+
|
|
2293
|
+
|
|
2294
|
+
<span class="param-type">String</span>
|
|
2242
2295
|
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
</dd>
|
|
2246
2296
|
|
|
2247
|
-
|
|
2248
2297
|
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
</dl>
|
|
2298
|
+
</td>
|
|
2299
|
+
|
|
2300
|
+
|
|
2301
|
+
<td class="default">
|
|
2302
|
+
|
|
2303
|
+
'polylineVolume'
|
|
2304
|
+
|
|
2305
|
+
</td>
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
|
|
2309
|
+
<td class="description last">
|
|
2310
|
+
<span class="optional">可选</span>
|
|
2311
|
+
<p>圆管线,类型(type)为polylineVolume时样式参数参照<a href="Style.html#.PolylineVolumeStyle"><code>Style.PolylineVolumeStyle</code></a></p></td>
|
|
2312
|
+
</tr>
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
|
|
2316
|
+
<tr>
|
|
2317
|
+
|
|
2318
|
+
<td class="name"
|
|
2319
|
+
><code>polygon</code></td>
|
|
2320
|
+
|
|
2321
|
+
|
|
2322
|
+
<td class="type">
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
<span class="param-type">String</span>
|
|
2287
2326
|
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
</dd>
|
|
2291
2327
|
|
|
2292
|
-
|
|
2293
2328
|
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2329
|
+
</td>
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
<td class="default">
|
|
2333
|
+
|
|
2334
|
+
'polygon'
|
|
2335
|
+
|
|
2336
|
+
</td>
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
|
|
2340
|
+
<td class="description last">
|
|
2341
|
+
<span class="optional">可选</span>
|
|
2342
|
+
<p>面(区),类型(type)为polygon时样式参数参照<a href="Style.html#.PolygonStyle"><code>Style.PolygonStyle</code></a></p></td>
|
|
2343
|
+
</tr>
|
|
2344
|
+
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
<tr>
|
|
2348
|
+
|
|
2349
|
+
<td class="name"
|
|
2350
|
+
><code>rectangle</code></td>
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
<td class="type">
|
|
2354
|
+
|
|
2355
|
+
|
|
2356
|
+
<span class="param-type">String</span>
|
|
2315
2357
|
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
</dl>
|
|
2332
2358
|
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2359
|
+
|
|
2360
|
+
</td>
|
|
2361
|
+
|
|
2362
|
+
|
|
2363
|
+
<td class="default">
|
|
2364
|
+
|
|
2365
|
+
'rectangle'
|
|
2366
|
+
|
|
2367
|
+
</td>
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
<td class="description last">
|
|
2372
|
+
<span class="optional">可选</span>
|
|
2373
|
+
<p>矩形,类型(type)为rectangle时样式参数参照<a href="Style.html#.RectangleStyle"><code>Style.RectangleStyle</code></a></p></td>
|
|
2374
|
+
</tr>
|
|
2375
|
+
|
|
2376
|
+
|
|
2377
|
+
|
|
2378
|
+
<tr>
|
|
2379
|
+
|
|
2380
|
+
<td class="name"
|
|
2381
|
+
><code>square</code></td>
|
|
2382
|
+
|
|
2383
|
+
|
|
2384
|
+
<td class="type">
|
|
2385
|
+
|
|
2386
|
+
|
|
2387
|
+
<span class="param-type">String</span>
|
|
2388
|
+
|
|
2336
2389
|
|
|
2337
|
-
|
|
2338
2390
|
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2391
|
+
</td>
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
<td class="default">
|
|
2395
|
+
|
|
2396
|
+
'square'
|
|
2397
|
+
|
|
2398
|
+
</td>
|
|
2399
|
+
|
|
2400
|
+
|
|
2401
|
+
|
|
2402
|
+
<td class="description last">
|
|
2403
|
+
<span class="optional">可选</span>
|
|
2404
|
+
<p>正方形,类型(type)square<a href="Style.html#.SquareStyle"><code>Style.SquareStyle</code></a></p></td>
|
|
2405
|
+
</tr>
|
|
2406
|
+
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
<tr>
|
|
2410
|
+
|
|
2411
|
+
<td class="name"
|
|
2412
|
+
><code>circle</code></td>
|
|
2413
|
+
|
|
2414
|
+
|
|
2415
|
+
<td class="type">
|
|
2416
|
+
|
|
2417
|
+
|
|
2418
|
+
<span class="param-type">String</span>
|
|
2360
2419
|
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
</dl>
|
|
2377
2420
|
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2421
|
+
|
|
2422
|
+
</td>
|
|
2423
|
+
|
|
2424
|
+
|
|
2425
|
+
<td class="default">
|
|
2426
|
+
|
|
2427
|
+
'circle'
|
|
2428
|
+
|
|
2429
|
+
</td>
|
|
2430
|
+
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
<td class="description last">
|
|
2434
|
+
<span class="optional">可选</span>
|
|
2435
|
+
<p>圆,类型(type)为circle时样式参数参照<a href="Style.html#.CircleStyle"><code>Style.CircleStyle</code></a></p></td>
|
|
2436
|
+
</tr>
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
<tr>
|
|
2441
|
+
|
|
2442
|
+
<td class="name"
|
|
2443
|
+
><code>corridor</code></td>
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
<td class="type">
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
<span class="param-type">String</span>
|
|
2450
|
+
|
|
2381
2451
|
|
|
2382
|
-
|
|
2383
2452
|
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
</dl>
|
|
2453
|
+
</td>
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
<td class="default">
|
|
2457
|
+
|
|
2458
|
+
'corridor'
|
|
2459
|
+
|
|
2460
|
+
</td>
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
<td class="description last">
|
|
2465
|
+
<span class="optional">可选</span>
|
|
2466
|
+
<p>方管线,类型(type)为corridor时样式参数参照<a href="Style.html#.CorridorStyle"><code>Style.CorridorStyle</code></a></p></td>
|
|
2467
|
+
</tr>
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
<tr>
|
|
2472
|
+
|
|
2473
|
+
<td class="name"
|
|
2474
|
+
><code>cylinder</code></td>
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
<td class="type">
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
<span class="param-type">String</span>
|
|
2422
2481
|
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
</dd>
|
|
2426
2482
|
|
|
2427
|
-
|
|
2428
2483
|
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
</dl>
|
|
2484
|
+
</td>
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
<td class="default">
|
|
2488
|
+
|
|
2489
|
+
'cylinder'
|
|
2490
|
+
|
|
2491
|
+
</td>
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
<td class="description last">
|
|
2496
|
+
<span class="optional">可选</span>
|
|
2497
|
+
<p>圆台(圆锥),类型(type)为cylinder时样式参数参照<a href="Style.html#.CylinderStyle"><code>Style.CylinderStyle</code></a></p></td>
|
|
2498
|
+
</tr>
|
|
2499
|
+
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
<tr>
|
|
2503
|
+
|
|
2504
|
+
<td class="name"
|
|
2505
|
+
><code>ellipsoid</code></td>
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
<td class="type">
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
<span class="param-type">String</span>
|
|
2467
2512
|
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
<h5>Example</h5>
|
|
2471
|
-
|
|
2472
2513
|
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2514
|
+
|
|
2515
|
+
</td>
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
<td class="default">
|
|
2519
|
+
|
|
2520
|
+
'ellipsoid'
|
|
2521
|
+
|
|
2522
|
+
</td>
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
<td class="description last">
|
|
2527
|
+
<span class="optional">可选</span>
|
|
2528
|
+
<p>椭球,类型(type)为ellipsoid时样式参数参照<a href="Style.html#.EllipsoidStyle"><code>Style.EllipsoidStyle</code></a></p></td>
|
|
2529
|
+
</tr>
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
<tr>
|
|
2534
|
+
|
|
2535
|
+
<td class="name"
|
|
2536
|
+
><code>sphere</code></td>
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
<td class="type">
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
<span class="param-type">String</span>
|
|
2477
2543
|
|
|
2478
|
-
|
|
2479
|
-
</dd>
|
|
2480
2544
|
|
|
2481
|
-
|
|
2482
2545
|
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
</dl>
|
|
2546
|
+
</td>
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
<td class="default">
|
|
2550
|
+
|
|
2551
|
+
'sphere'
|
|
2552
|
+
|
|
2553
|
+
</td>
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
<td class="description last">
|
|
2558
|
+
<span class="optional">可选</span>
|
|
2559
|
+
<p>圆球,类型(type)为sphere时样式参数参照<a href="Style.html#.SphereStyle"><code>Style.SphereStyle</code></a></p></td>
|
|
2560
|
+
</tr>
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
<tr>
|
|
2565
|
+
|
|
2566
|
+
<td class="name"
|
|
2567
|
+
><code>wall</code></td>
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
<td class="type">
|
|
2571
|
+
|
|
2572
|
+
|
|
2573
|
+
<span class="param-type">String</span>
|
|
2521
2574
|
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
</dd>
|
|
2525
2575
|
|
|
2526
|
-
|
|
2527
2576
|
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
</dl>
|
|
2577
|
+
</td>
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
<td class="default">
|
|
2581
|
+
|
|
2582
|
+
'wall'
|
|
2583
|
+
|
|
2584
|
+
</td>
|
|
2585
|
+
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
<td class="description last">
|
|
2589
|
+
<span class="optional">可选</span>
|
|
2590
|
+
<p>墙,类型(type)为wall时样式参数参照<a href="Style.html#.WallStyle"><code>Style.WallStyle</code></a></p></td>
|
|
2591
|
+
</tr>
|
|
2592
|
+
|
|
2593
|
+
|
|
2594
|
+
|
|
2595
|
+
<tr>
|
|
2596
|
+
|
|
2597
|
+
<td class="name"
|
|
2598
|
+
><code>box</code></td>
|
|
2599
|
+
|
|
2600
|
+
|
|
2601
|
+
<td class="type">
|
|
2602
|
+
|
|
2603
|
+
|
|
2604
|
+
<span class="param-type">String</span>
|
|
2566
2605
|
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
</dd>
|
|
2570
2606
|
|
|
2571
|
-
|
|
2572
2607
|
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
</dl>
|
|
2608
|
+
</td>
|
|
2609
|
+
|
|
2610
|
+
|
|
2611
|
+
<td class="default">
|
|
2612
|
+
|
|
2613
|
+
'box'
|
|
2614
|
+
|
|
2615
|
+
</td>
|
|
2616
|
+
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
<td class="description last">
|
|
2620
|
+
<span class="optional">可选</span>
|
|
2621
|
+
<p>盒子,类型(type)为box时样式参数参照<a href="Style.html#.BoxStyle"><code>Style.BoxStyle</code></a></p></td>
|
|
2622
|
+
</tr>
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
<tr>
|
|
2627
|
+
|
|
2628
|
+
<td class="name"
|
|
2629
|
+
><code>model</code></td>
|
|
2630
|
+
|
|
2631
|
+
|
|
2632
|
+
<td class="type">
|
|
2633
|
+
|
|
2634
|
+
|
|
2635
|
+
<span class="param-type">String</span>
|
|
2611
2636
|
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
</dd>
|
|
2615
2637
|
|
|
2616
|
-
|
|
2617
2638
|
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
</dl>
|
|
2639
|
+
</td>
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
<td class="default">
|
|
2643
|
+
|
|
2644
|
+
'model'
|
|
2645
|
+
|
|
2646
|
+
</td>
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
<td class="description last">
|
|
2651
|
+
<span class="optional">可选</span>
|
|
2652
|
+
<p>gltf模型,类型(type)为model时样式参数参照<a href="Style.html#.ModelStyle"><code>Style.ModelStyle</code></a></p></td>
|
|
2653
|
+
</tr>
|
|
2654
|
+
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
<tr>
|
|
2658
|
+
|
|
2659
|
+
<td class="name"
|
|
2660
|
+
><code>dynamicRiver</code></td>
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
<td class="type">
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
<span class="param-type">String</span>
|
|
2656
2667
|
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
</dd>
|
|
2660
2668
|
|
|
2661
|
-
|
|
2662
2669
|
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2670
|
+
</td>
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
<td class="default">
|
|
2674
|
+
|
|
2675
|
+
'dynamicRiver'
|
|
2676
|
+
|
|
2677
|
+
</td>
|
|
2678
|
+
|
|
2679
|
+
|
|
2680
|
+
|
|
2681
|
+
<td class="description last">
|
|
2682
|
+
<span class="optional">可选</span>
|
|
2683
|
+
<p>河流,类型(type)为dynamicRiver时样式参数参照<a href="Style.html#.RiverStyle"><code>Style.RiverStyle</code></a></p></td>
|
|
2684
|
+
</tr>
|
|
2685
|
+
|
|
2686
|
+
|
|
2687
|
+
</tbody>
|
|
2688
|
+
</table></dl>
|
|
2689
|
+
|
|
2679
2690
|
|
|
2680
2691
|
|
|
2681
2692
|
|
|
@@ -2722,7 +2733,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
2722
2733
|
|
|
2723
2734
|
|
|
2724
2735
|
<div class="tag-source">
|
|
2725
|
-
engineExtensions/graphic/Graphic.js, line
|
|
2736
|
+
engineExtensions/graphic/Graphic.js, line 2787
|
|
2726
2737
|
</div>
|
|
2727
2738
|
|
|
2728
2739
|
</div>
|
|
@@ -2733,7 +2744,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
2733
2744
|
|
|
2734
2745
|
|
|
2735
2746
|
<div class="description">
|
|
2736
|
-
<p
|
|
2747
|
+
<p>为图元追加或覆盖一个业务属性字段。</p>
|
|
2737
2748
|
</div>
|
|
2738
2749
|
|
|
2739
2750
|
|
|
@@ -2780,7 +2791,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
2780
2791
|
|
|
2781
2792
|
<td class="description last">
|
|
2782
2793
|
|
|
2783
|
-
<p
|
|
2794
|
+
<p>属性名。</p></td>
|
|
2784
2795
|
</tr>
|
|
2785
2796
|
|
|
2786
2797
|
|
|
@@ -2806,7 +2817,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
2806
2817
|
|
|
2807
2818
|
<td class="description last">
|
|
2808
2819
|
|
|
2809
|
-
<p
|
|
2820
|
+
<p>属性值。</p></td>
|
|
2810
2821
|
</tr>
|
|
2811
2822
|
|
|
2812
2823
|
|
|
@@ -2867,7 +2878,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
2867
2878
|
|
|
2868
2879
|
|
|
2869
2880
|
<footer>
|
|
2870
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
2881
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
2871
2882
|
</footer>
|
|
2872
2883
|
</div>
|
|
2873
2884
|
</div>
|