@mapgis/webclient-cesium-plugin 17.2.8 → 17.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist/es5/webclient-cesium-plugin.min.js +3 -3
- package/dist/es5/webclient-common.min.js +3 -3
- package/dist/webclient-cesium-plugin-es6.min.js +3 -3
- package/documention/AlgorithmLib.html +118 -12
- package/documention/AngulationTool.html +158 -16
- package/documention/AnimationTool.html +148 -34
- package/documention/ArcGISMapServerImageryProvider.html +2 -2
- package/documention/ArcGISTileServerImageryProvider.html +2 -2
- package/documention/ArcGISVectorTileImageryProvider.html +1 -1
- package/documention/Cesium.Material.html +580 -0
- package/documention/Cesium.Viewer.html +1241 -0
- package/documention/Cesium3DTileset.html +691 -0
- package/documention/CesiumHeatmap.html +123 -2439
- package/documention/CesiumTerrainProvider.html +322 -10
- package/documention/CircleWaveMaterialProperty.html +120 -17
- package/documention/CollisionDetectionByRender.html +116 -10
- package/documention/CompatibleFunc.html +731 -0
- package/documention/CustomProjection.html +1208 -0
- package/documention/CustomTilingScheme.html +2 -2
- package/documention/CutFillAnalysis.html +1943 -0
- package/documention/CuttingTool.html +154 -238
- package/documention/Deferred.html +116 -10
- package/documention/DrawElement.html +125 -10
- package/documention/DrawTool.html +117 -11
- package/documention/EditTool.html +117 -11
- package/documention/FloodAnalysis.html +1895 -0
- package/documention/FloodAnalysisReflection.html +127 -15
- package/documention/GlobeIndependentTranslucency.html +121 -13
- package/documention/Graphic.html +233 -585
- package/documention/GraphicTransformTool.html +1207 -0
- package/documention/GraphicsLayer.html +207 -212
- package/documention/HeightLimited.html +127 -15
- package/documention/ISSceneLayerUtil.html +329 -9
- package/documention/KeyboardCameraController.html +118 -10
- package/documention/MapGISDynamicLabelCollection.html +1471 -0
- package/documention/MapGISM3DSet.html +728 -0
- package/documention/MapGISMapServerImageryProvider.html +2 -2
- package/documention/MapGISTerrainProvider.html +4 -4
- package/documention/MapGISTileAvailability.html +1546 -0
- package/documention/MapGISTileServerImageryProvider.html +2 -33
- package/documention/MapGISVectorTileImageryProvider.html +2 -2
- package/documention/MeasureAreaTool.html +177 -62
- package/documention/MeasureLengthTool.html +179 -64
- package/documention/MeasureSlopeTool.html +129 -15
- package/documention/ModelEditor.html +132 -21
- package/documention/ModelFilterTool.html +213 -23
- package/documention/ModelTransformTool.html +191 -38
- package/documention/NavigationTool.html +694 -0
- package/documention/OpenWeatherImageryProvider.html +766 -0
- package/documention/PolylineTrailLinkMaterialProperty.html +120 -17
- package/documention/PostProcessStageLibrary.html +118 -12
- package/documention/Promise.html +119 -13
- package/documention/RadarMaterialProperty.html +120 -17
- package/documention/ReImg.html +133 -9
- package/documention/RiverGeometry.html +126 -20
- package/documention/RoamParticle.html +119 -9
- package/documention/S3MTileset.html +136 -10
- package/documention/SceneView.html +4993 -0
- package/documention/SceneViewCesium.html +6 -6
- package/documention/SelectTool.html +116 -38
- package/documention/ShadowRateAnalysis.html +117 -18
- package/documention/ShadowRateDrawCommand.html +115 -9
- package/documention/SketchEditor.html +1774 -0
- package/documention/SketchEditorCesium.html +1 -1
- package/documention/SkyLineAnalysis.html +9 -9
- package/documention/StableParticle.html +119 -9
- package/documention/Style.html +154 -533
- package/documention/TerrainAnalyse.html +265 -40
- package/documention/TerrainProfile.html +128 -16
- package/documention/ThemeManager.html +2237 -0
- package/documention/Tooltip.html +115 -9
- package/documention/TriangulationTool.html +176 -61
- package/documention/VisiblityAnalysis.html +132 -24
- package/documention/WaterReflection.html +132 -20
- package/documention/WebMapServiceImageryProvider.html +2 -2
- package/documention/WebMapTileServiceImageryProvider.html +2 -2
- package/documention/Wind3D.html +122 -11
- package/documention/createColorTexture.html +608 -0
- package/documention/index.html +5 -5
- package/documention/initializeOptions.html +561 -0
- package/documention/isCounterClockwise.html +760 -0
- package/package.json +1 -1
package/documention/Style.html
CHANGED
|
@@ -104,27 +104,129 @@
|
|
|
104
104
|
|
|
105
105
|
<nav>
|
|
106
106
|
|
|
107
|
-
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a
|
|
107
|
+
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="AlgorithmLib"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="AlgorithmLib.html">AlgorithmLib</a><span style="display: none;"><p>通用算法工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="AngulationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="AngulationTool.html">AngulationTool</a><span style="display: none;"><p>角度测量工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="AnimationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="AnimationTool.html">AnimationTool</a><span style="display: none;"><p>场景漫游工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapServerImageryProvider.html">ArcGISMapServerImageryProvider</a><span style="display: none;"><p>ArcGIS地图图片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileServerImageryProvider.html">ArcGISTileServerImageryProvider</a><span style="display: none;"><p>ArcGIS瓦片图层,现已不支持通过构造函数(new ArcGISTileServerImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISVectorTileImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISVectorTileImageryProvider.html">ArcGISVectorTileImageryProvider</a><span style="display: none;"><p>ArcGIS矢量瓦片图层,现已不支持通过构造函数(new ArcGISVectorTileImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Cesium3DTileset"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Cesium3DTileset.html">Cesium3DTileset</a><span style="display: none;"><p>Cesium3DTileset对象,现已不支持通过构造函数(new Cesium3DTileset())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Cesium.Material"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Cesium.Material.html">Material</a><span style="display: none;"><p>新增了部分Cesium材质<br>
|
|
108
|
+
《PolylineTrailLink材质》<br>
|
|
109
|
+
参考示例:
|
|
110
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-polyline'>《线示例》</a>
|
|
111
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-wall'>《墙示例》</a><br>
|
|
112
|
+
color: 材质颜色,Cesium.Color.WHITE<br>
|
|
113
|
+
image: 材质使用的图片,Cesium.Material.PolylineTrailLinkImage<br>
|
|
114
|
+
duration: 持续时间,100.0<br>
|
|
115
|
+
direction: 方向,1.0<br>
|
|
116
|
+
repeat: 重复次数,new Cesium.Cartesian2(1.0, 1.0)<br><br>
|
|
117
|
+
《CircleWaveMaterial材质》<br>
|
|
118
|
+
参考示例:
|
|
119
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a>
|
|
120
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circular'>《圆锥示例》</a><br>
|
|
121
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
122
|
+
duration: 持续时间,100.0<br>
|
|
123
|
+
count: 方向,1.0<br>
|
|
124
|
+
gradient: 渐变因子,0.1<br><br>
|
|
125
|
+
《RadarMaterial材质》<br>
|
|
126
|
+
参考示例:
|
|
127
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
128
|
+
color: 材质颜色,Cesium.Color.WHITE<br>
|
|
129
|
+
speed: 速度,1<br><br>
|
|
130
|
+
《AspectArrow材质》
|
|
131
|
+
AspectArrowMap: 箭头图片,Cesium.Material.DefaultImageId<br>
|
|
132
|
+
repeat: 箭头重复次数,Cesium.Cartesian2(1.0, 1.0)<br><br>
|
|
133
|
+
《TextImage材质》<br>
|
|
134
|
+
image: 文字图片,Cesium.Material.DefaultImageId<br>
|
|
135
|
+
repeat: 图片重复次数,Cesium.Cartesian2(1.0, 1.0)<br>
|
|
136
|
+
breathingLight: 是否开启呼吸灯,false<br>
|
|
137
|
+
duration: 运行周期,1000<br><br>
|
|
138
|
+
《LineFlickerMaterialType材质》<br>
|
|
139
|
+
参考示例:
|
|
140
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
141
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
142
|
+
speed: 速度,5<br><br>
|
|
143
|
+
《CircleScanMaterialType材质》<br>
|
|
144
|
+
参考示例:
|
|
145
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
146
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
147
|
+
speed: 速度,10<br><br>
|
|
148
|
+
《CirclePulseMaterialType材质》<br>
|
|
149
|
+
参考示例:
|
|
150
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
151
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
152
|
+
speed: 速度,10<br><br>
|
|
153
|
+
《CircleDiffuseMaterialType材质》<br>
|
|
154
|
+
参考示例:
|
|
155
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
156
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
157
|
+
speed: 速度,10<br><br>
|
|
158
|
+
《ScanlineType材质》<br>
|
|
159
|
+
参考示例:
|
|
160
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
161
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
162
|
+
speed: 速度,10<br><br>
|
|
163
|
+
《CircleFadeMaterialType材质》<br>
|
|
164
|
+
参考示例:
|
|
165
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
166
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
167
|
+
speed: 速度,10<br><br>
|
|
168
|
+
《CircleColorfulMaterialType材质》<br>
|
|
169
|
+
参考示例:
|
|
170
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
171
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
172
|
+
speed: 速度,10<br><br>
|
|
173
|
+
《CircleSpiralMaterialType材质》<br>
|
|
174
|
+
参考示例:
|
|
175
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
176
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
177
|
+
speed: 速度,10<br><br>
|
|
178
|
+
《CircleBlurMaterialType材质》<br>
|
|
179
|
+
参考示例:
|
|
180
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
181
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
182
|
+
speed: 速度,10<br><br>
|
|
183
|
+
《RadarScanMaterialType材质》<br>
|
|
184
|
+
参考示例:
|
|
185
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
186
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
187
|
+
speed: 速度,10<br><br>
|
|
188
|
+
《RadarLineMaterialType材质》<br>
|
|
189
|
+
参考示例:
|
|
190
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
191
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
192
|
+
speed: 速度,10<br><br>
|
|
193
|
+
《RiverCoveringMaterial材质》<br>
|
|
194
|
+
color: 材质颜色,Cesium.Color(1, 1, 1, 0.7)<br>
|
|
195
|
+
animationSpeed: 播放速度,0.01<br>
|
|
196
|
+
image: 材质图片,CustomMaterial.DefaultImageId<br>
|
|
197
|
+
repeat: 重复次数,2.0<br><br></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Cesium.Viewer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Cesium.Viewer.html">Viewer</a><span style="display: none;"><p>重写Cesium.Viewer的方法</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CesiumHeatmap"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CesiumHeatmap.html">CesiumHeatmap</a><span style="display: none;"><p>热力图</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CesiumTerrainProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CesiumTerrainProvider.html">CesiumTerrainProvider</a><span style="display: none;"><p>Cesium地形图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CircleWaveMaterialProperty"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CircleWaveMaterialProperty.html">CircleWaveMaterialProperty</a><span style="display: none;"><p>动态圆波纹材质</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CollisionDetectionByRender"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollisionDetectionByRender.html">CollisionDetectionByRender</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CompatibleFunc"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CompatibleFunc.html">CompatibleFunc</a><span style="display: none;"><p>适配不同版本Cesium接口方法类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="createColorTexture"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="createColorTexture.html">createColorTexture</a><span style="display: none;"><p>天际线分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CustomProjection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CustomProjection.html">CustomProjection</a><span style="display: none;"><p>实现自定义投影坐标系与地理坐标系经纬度(弧度表示)之间的投影变换</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CustomTilingScheme"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CustomTilingScheme.html">CustomTilingScheme</a><span style="display: none;"><p>自定义瓦片平铺方案,在使用时有如下限制:</p>
|
|
108
198
|
<ol>
|
|
109
199
|
<li>裁图原点必须在地图范围的左上角区域;</li>
|
|
110
200
|
<li>仅支持如同谷歌地图的瓦片组织方式,即Y轴编号从上到下递增,X轴编号从左到右递增;</li>
|
|
111
|
-
</ol></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a
|
|
201
|
+
</ol></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CutFillAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CutFillAnalysis.html">CutFillAnalysis</a><span style="display: none;"><p>填挖方分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CuttingTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CuttingTool.html">CuttingTool</a><span style="display: none;"><p>三维场景裁剪工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="DrawElement"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="DrawElement.html">DrawElement</a><span style="display: none;"><p>几何绘制类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="DrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="DrawTool.html">DrawTool</a><span style="display: none;"><p>绘制工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="DynamicEntityVisualizer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="DynamicEntityVisualizer.html">DynamicEntityVisualizer</a><span style="display: none;"><p>动态实体视图类封装
|
|
202
|
+
1、支持BillBoard、Label、GroundPrimitive等动态显示,处理覆盖问题
|
|
203
|
+
2、动态显隐效果
|
|
204
|
+
3、视窗内性能优化</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EditTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EditTool.html">EditTool</a><span style="display: none;"><p>标绘编辑工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FloodAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FloodAnalysis.html">FloodAnalysis</a><span style="display: none;"><p>洪水淹没分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FloodAnalysisReflection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FloodAnalysisReflection.html">FloodAnalysisReflection</a><span style="display: none;"><p>创建反射水面淹没分析的实例化对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GlobeIndependentTranslucency"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GlobeIndependentTranslucency.html">GlobeIndependentTranslucency</a><span style="display: none;"><p>单独控制地表透明度和影像图层的透明度,能够在开启地表透明后使部分影像图层不受地表透明的影响。</p>
|
|
112
205
|
<p>实例化该类的对象同时也能够使用原生的地表透明参数,能够直接在实例化对象上修改 <code>GlobeTranslucency</code> 的参数(原生的
|
|
113
206
|
viewer.scene.globe.translucency依然能够使用,但两者同时使用时会造成相互干扰,推荐仅使用GlobeIndependentTranslucency来实现地表透明),
|
|
114
|
-
使用原生的地表透明方式还是该类的地表透明方式由 <a
|
|
115
|
-
<p>1. 当 <a
|
|
207
|
+
使用原生的地表透明方式还是该类的地表透明方式由 <a href="GlobeIndependentTranslucency.html#imageryLayers"><code>GlobeIndependentTranslucency#imageryLayers</code></a> 数组是否为空来区分。</p>
|
|
208
|
+
<p>1. 当 <a href="GlobeIndependentTranslucency.html#imageryLayers"><code>GlobeIndependentTranslucency#imageryLayers</code></a> 不为空数组时,使用该类的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
116
209
|
<ul>
|
|
117
210
|
<li><code>globeFaceAlpha</code>:地表的透明度,若设置该参数则<code>globeFaceAlphaByDistance</code>不生效;</li>
|
|
118
211
|
<li><code>globeFaceAlphaByDistance</code>:地表的透明度根据视点距离的变化范围,当<code>globeFaceAlpha</code>为<code>undefined</code>时生效;</li>
|
|
119
212
|
</ul>
|
|
120
|
-
<p>2. 当 <a
|
|
213
|
+
<p>2. 当 <a href="GlobeIndependentTranslucency.html#imageryLayers"><code>GlobeIndependentTranslucency#imageryLayers</code></a> 为空数组时,使用原生的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
121
214
|
<ul>
|
|
122
215
|
<li><code>frontFaceAlpha</code>:地表正面的透明度;</li>
|
|
123
216
|
<li><code>frontFaceAlphaByDistance </code>:地表正面的透明度根据视点距离的变化范围;</li>
|
|
124
217
|
<li><code>backFaceAlpha</code>:地表背面的透明度;</li>
|
|
125
218
|
<li><code>backFaceAlphaByDistance</code>:地表背面的透明度根据视点距离的变化范围;</li>
|
|
126
219
|
<li><code>rectangle</code>:将地表透明的区域限制在一个矩形范围内。</li>
|
|
127
|
-
</ul></span></li><li
|
|
220
|
+
</ul></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Graphic"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Graphic.html">Graphic</a><span style="display: none;"><p>标绘图元对象<br>
|
|
221
|
+
请参考以下示例:<br>
|
|
222
|
+
<a href='#example1'>1、初始化标绘图层</a><br>
|
|
223
|
+
<a href='#example2'>2、添加一个多边形图元</a><br>
|
|
224
|
+
<a href='#example3'>3、新增一个类型为div的标绘对象</a><br>
|
|
225
|
+
<a href='http://webclient.smaryun.com/#/example-gallery/cesium#tdGraphBase' target='_blank'>4、更多示例</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GraphicsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GraphicsLayer.html">GraphicsLayer</a><span style="display: none;"><p>标绘图层<br>
|
|
226
|
+
请参考以下示例:<br>
|
|
227
|
+
<a href='#example1'>1、初始化标绘图层</a><br>
|
|
228
|
+
<a href='#example2'>2、重写提示框对象</a><br>
|
|
229
|
+
<a href='http://webclient.smaryun.com/#/example-gallery/cesium#tdGraphBase' target='_blank'>3、更多示例</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GraphicTransformTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GraphicTransformTool.html">GraphicTransformTool</a><span style="display: none;"><p>基础标绘变换工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="HeightLimited"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="HeightLimited.html">HeightLimited</a><span style="display: none;"><p>限高分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>构建实例化对象的配置参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="isCounterClockwise"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="isCounterClockwise.html">isCounterClockwise</a><span style="display: none;"><p>地形剖切工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="KeyboardCameraController"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="KeyboardCameraController.html">KeyboardCameraController</a><span style="display: none;"><p>场景相机漫游工具,可以实现沉浸式的鼠标键盘漫游功能,具体操作方法如下:</p>
|
|
128
230
|
<p>1. 相机平移操作,这类操作不会改变相机的朝向,只会改变相机的位置:</p>
|
|
129
231
|
<ul>
|
|
130
232
|
<li><code>W</code>:相机位置向前移动</li>
|
|
@@ -158,7 +260,9 @@ viewer.scene.globe.translucency依然能够使用,但两者同时使用时会
|
|
|
158
260
|
<ul>
|
|
159
261
|
<li><code>Shift</code>:加速相机平移操作,调整移动步长为原来的两倍</li>
|
|
160
262
|
<li><code>R</code>:重置视角到初始视角,仅在参数<code>initView</code>定义时有效</li>
|
|
161
|
-
</ul></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a
|
|
263
|
+
</ul></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISDynamicLabelCollection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISDynamicLabelCollection.html">MapGISDynamicLabelCollection</a><span style="display: none;"><p>动态注记容器</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISM3DSet"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISM3DSet.html">MapGISM3DSet</a><span style="display: none;"><p>MapGISM3DSet对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISMapServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISMapServerImageryProvider.html">MapGISMapServerImageryProvider</a><span style="display: none;"><p>MapGIS地图图片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTerrainProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTerrainProvider.html">MapGISTerrainProvider</a><span style="display: none;"><p>MapGIS地形图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTileAvailability"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTileAvailability.html">MapGISTileAvailability</a><span style="display: none;"><p>MapGIS的TileAvailability类,重写了Cesium.TileAvailability的所有方法,支持在内部自动筛选要使用的地形图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTileServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTileServerImageryProvider.html">MapGISTileServerImageryProvider</a><span style="display: none;"><p>MapGIS瓦片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISVectorTileImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISVectorTileImageryProvider.html">MapGISVectorTileImageryProvider</a><span style="display: none;"><p>MapGIS矢量瓦片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MeasureAreaTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MeasureAreaTool.html">MeasureAreaTool</a><span style="display: none;"><p>面积测量工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MeasureLengthTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MeasureLengthTool.html">MeasureLengthTool</a><span style="display: none;"><p>距离测量</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MeasureSlopeTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MeasureSlopeTool.html">MeasureSlopeTool</a><span style="display: none;"><p>坡度测量</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ModelEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ModelEditor.html">ModelEditor</a><span style="display: none;"><p>模型矩阵编辑工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ModelFilterTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ModelFilterTool.html">ModelFilterTool</a><span style="display: none;"><p>模型空间过滤工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ModelTransformTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ModelTransformTool.html">ModelTransformTool</a><span style="display: none;"><p>模型变换工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="NavigationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="NavigationTool.html">NavigationTool</a><span style="display: none;"><p>A mixin which adds the Compass/Navigation widget to the Viewer widget.
|
|
264
|
+
Rather than being called directly, this function is normally passed as
|
|
265
|
+
a parameter to <code>Viewer#extend</code>, as shown in the example below.</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="OpenWeatherImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="OpenWeatherImageryProvider.html">OpenWeatherImageryProvider</a><span style="display: none;"><p>OpenWeatherMap服务provider供给器</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="PolylineTrailLinkMaterialProperty"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="PolylineTrailLinkMaterialProperty.html">PolylineTrailLinkMaterialProperty</a><span style="display: none;"><p>流动纹理线材质</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="PostProcessStageLibrary"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="PostProcessStageLibrary.html">PostProcessStageLibrary</a><span style="display: none;"><p>用于创建后处理特效的扩展库</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="RadarMaterialProperty"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="RadarMaterialProperty.html">RadarMaterialProperty</a><span style="display: none;"><p>雷达扫描材质</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ReImg"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ReImg.html">ReImg</a><span style="display: none;"><p>截图(保存图片)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="RoamParticle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="RoamParticle.html">RoamParticle</a><span style="display: none;"><p>跟随模型移动粒子特效</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="S3MTileset"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="S3MTileset.html">S3MTileset</a><span style="display: none;"><p>S3MTileset类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SelectTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SelectTool.html">SelectTool</a><span style="display: none;"><p>绘制工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ShadowRateAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ShadowRateAnalysis.html">ShadowRateAnalysis</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="StableParticle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="StableParticle.html">StableParticle</a><span style="display: none;"><p>固定位置粒子特效,可通过更改image与附加参数来实现火焰、喷泉、烟雾等粒子特效</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Style"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Style.html">Style</a><span style="display: none;"><p>标绘图元样式</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TerrainAnalyse"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TerrainAnalyse.html">TerrainAnalyse</a><span style="display: none;"><p>地形分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TerrainProfile"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TerrainProfile.html">TerrainProfile</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ThemeManager"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ThemeManager.html">ThemeManager</a><span style="display: none;"><p>统计图</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TriangulationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TriangulationTool.html">TriangulationTool</a><span style="display: none;"><p>三角测量</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="UrlTemplateImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="UrlTemplateImageryProvider.html">UrlTemplateImageryProvider</a><span style="display: none;"><p>网络瓦片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VisiblityAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VisiblityAnalysis.html">VisiblityAnalysis</a><span style="display: none;"><p>通视分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WaterReflection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WaterReflection.html">WaterReflection</a><span style="display: none;"><p>创建反射水面的实例化对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceImageryProvider.html">WebMapServiceImageryProvider</a><span style="display: none;"><p>WMS图层,现已不支持通过构造函数(new WebMapServiceImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceImageryProvider.html">WebMapTileServiceImageryProvider</a><span style="display: none;"><p>WMTS图层,现已不支持通过构造函数(new WebMapTileServiceImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Wind3D"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Wind3D.html">Wind3D</a><span style="display: none;"><p>风场系统</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GeoJSONLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GeoJSONLayerUtil.html">GeoJSONLayerUtil</a><span style="display: none;"><p>GeoJSON图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GraphicsLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GraphicsLayerUtil.html">GraphicsLayerUtil</a><span style="display: none;"><p>几何图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSFeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSFeatureLayerUtil.html">IGSFeatureLayerUtil</a><span style="display: none;"><p>IGSFeature图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WFSLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WFSLayerUtil.html">WFSLayerUtil</a><span style="display: none;"><p>WFS图层的工具类</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ISSceneLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ISSceneLayerUtil.html">ISSceneLayerUtil</a><span style="display: none;"><p>IS场景图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Popup"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Popup.html">Popup</a><span style="display: none;"><p>场景信息弹窗(cesium引擎)
|
|
162
266
|
参考示例:
|
|
163
267
|
<a href='#SceneView'>[初始化三维场景视图]</a>
|
|
164
268
|
<br>[ES5引入方式]:<br/>
|
|
@@ -170,7 +274,9 @@ zondy-popup__content 弹窗容器样式<br/>
|
|
|
170
274
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
171
275
|
zondy-popup__header 弹窗头部样式<br/>
|
|
172
276
|
zondy-popup__content 弹窗主体样式<br/>
|
|
173
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li
|
|
277
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SceneView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SceneView.html">SceneView</a><span style="display: none;"><p>场景视图类<br/>
|
|
278
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SceneView.html' target='_blank'>zondy.SceneView</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</a><span style="display: none;"><p>屏幕打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>Cesium引擎草图编辑类<br/>
|
|
279
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor3D.html' target='_blank'>zondy.SketchEditor3D</a><br/>
|
|
174
280
|
<br>[ES5引入方式]:<br/>
|
|
175
281
|
const { SketchEditor } = zondy.tool.sketch <br/>
|
|
176
282
|
[ES6引入方式]:<br/>
|
|
@@ -215,7 +321,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
215
321
|
|
|
216
322
|
|
|
217
323
|
<div class="description">
|
|
218
|
-
<p
|
|
324
|
+
<p>标绘图元样式</p>
|
|
219
325
|
</div>
|
|
220
326
|
|
|
221
327
|
|
|
@@ -284,6 +390,23 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
284
390
|
|
|
285
391
|
|
|
286
392
|
|
|
393
|
+
|
|
394
|
+
<p class="summary"><h5>支持如下样式:</h5>
|
|
395
|
+
1、点,类型(type)为point时样式参数参照<a href="Style.html#.PointStyle"><code>Style.PointStyle</code></a><br>
|
|
396
|
+
2、文本,类型(type)为label时样式参数参照<a href="Style.html#.LabelStyle"><code>Style.LabelStyle</code></a><br>
|
|
397
|
+
3、广告牌,图标类型(type)为billboard时样式参数参照<a href="Style.html#.BillboardStyle"><code>Style.BillboardStyle</code></a><br>
|
|
398
|
+
4、线,图标类型(type)为polyline时样式参数参照<a href="Style.html#.PolylineStyle"><code>Style.PolylineStyle</code></a><br>
|
|
399
|
+
5、圆管线,图标类型(type)为polylineVolume时样式参数参照<a href="Style.html#.PolylineVolumeStyle"><code>Style.PolylineVolumeStyle</code></a><br>
|
|
400
|
+
6、面(区),图标类型(type)为polygon时样式参数参照<a href="Style.html#.PolygonStyle"><code>Style.PolygonStyle</code></a><br>
|
|
401
|
+
7、矩形,图标类型(type)为rectangle时样式参数参照<a href="Style.html#.RectangleStyle"><code>Style.RectangleStyle</code></a><br>
|
|
402
|
+
8、圆,图标类型(type)为circle时样式参数参照<a href="Style.html#.CircleStyle"><code>Style.CircleStyle</code></a><br>
|
|
403
|
+
9、方管线,图标类型(type)为corridor时样式参数参照<a href="Style.html#.CorridorStyle"><code>Style.CorridorStyle</code></a><br>
|
|
404
|
+
10、圆台(圆锥),图标类型(type)为cylinder时样式参数参照<a href="Style.html#.CylinderStyle"><code>Style.CylinderStyle</code></a><br>
|
|
405
|
+
11、椭球,图标类型(type)为ellipsoid时样式参数参照<a href="Style.html#.EllipsoidStyle"><code>Style.EllipsoidStyle</code></a><br>
|
|
406
|
+
12、圆球,图标类型(type)为sphere时样式参数参照<a href="Style.html#.SphereStyle"><code>Style.SphereStyle</code></a><br>
|
|
407
|
+
13、墙,图标类型(type)为wall时样式参数参照<a href="Style.html#.WallStyle"><code>Style.WallStyle</code></a><br>
|
|
408
|
+
14、盒子,类型(type)为box时样式参数参照<a href="Style.html#.BoxStyle"><code>Style.BoxStyle</code></a><br>
|
|
409
|
+
15、 gltf模型,类型(type)为model时样式参数参照<a href="Style.html#.ModelStyle"><code>Style.ModelStyle</code></a><br></p>
|
|
287
410
|
|
|
288
411
|
|
|
289
412
|
|
|
@@ -6459,7 +6582,7 @@ rightBottom:右边考下</p></td>
|
|
|
6459
6582
|
</td>
|
|
6460
6583
|
|
|
6461
6584
|
|
|
6462
|
-
<td class="description last"><p>label样式,详见<a
|
|
6585
|
+
<td class="description last"><p>label样式,详见<a href="Style.html#.LabelStyle"><code>Style.LabelStyle</code></a></p></td>
|
|
6463
6586
|
</tr>
|
|
6464
6587
|
|
|
6465
6588
|
|
|
@@ -6494,7 +6617,7 @@ rightBottom:右边考下</p></td>
|
|
|
6494
6617
|
</td>
|
|
6495
6618
|
|
|
6496
6619
|
|
|
6497
|
-
<td class="description last"><p>billboard样式,详见<a
|
|
6620
|
+
<td class="description last"><p>billboard样式,详见<a href="Style.html#.BillboardStyle"><code>Style.BillboardStyle</code></a></p></td>
|
|
6498
6621
|
</tr>
|
|
6499
6622
|
|
|
6500
6623
|
|
|
@@ -7309,7 +7432,7 @@ rightBottom:右边考下</p></td>
|
|
|
7309
7432
|
|
|
7310
7433
|
<td class="default">
|
|
7311
7434
|
|
|
7312
|
-
Cesium.
|
|
7435
|
+
Cesium.Color.WHITE
|
|
7313
7436
|
|
|
7314
7437
|
</td>
|
|
7315
7438
|
|
|
@@ -7346,7 +7469,7 @@ rightBottom:右边考下</p></td>
|
|
|
7346
7469
|
|
|
7347
7470
|
<td class="default">
|
|
7348
7471
|
|
|
7349
|
-
Cesium.
|
|
7472
|
+
Cesium.Color.TRANSPARENT
|
|
7350
7473
|
|
|
7351
7474
|
</td>
|
|
7352
7475
|
|
|
@@ -9634,7 +9757,7 @@ rightBottom:右边考下</p></td>
|
|
|
9634
9757
|
|
|
9635
9758
|
<td class="default">
|
|
9636
9759
|
|
|
9637
|
-
'
|
|
9760
|
+
MAPGIS_BASE_URL+'webclient-cesium-plugin-resource/assets/images/river3.jpg'
|
|
9638
9761
|
|
|
9639
9762
|
</td>
|
|
9640
9763
|
|
|
@@ -11108,7 +11231,7 @@ rightBottom:右边考下</p></td>
|
|
|
11108
11231
|
|
|
11109
11232
|
|
|
11110
11233
|
<div class="description">
|
|
11111
|
-
<p>样式类型 与图元类型一致,参见<a
|
|
11234
|
+
<p>样式类型 与图元类型一致,参见<a href="Graphic.html#.graphicType"><code>Graphic.graphicType</code></a></p>
|
|
11112
11235
|
</div>
|
|
11113
11236
|
|
|
11114
11237
|
|
|
@@ -11175,7 +11298,7 @@ rightBottom:右边考下</p></td>
|
|
|
11175
11298
|
</td>
|
|
11176
11299
|
|
|
11177
11300
|
|
|
11178
|
-
<td class="description last"><p>点,类型(type)为point时样式参数参照<a
|
|
11301
|
+
<td class="description last"><p>点,类型(type)为point时样式参数参照<a href="Style.html#.PointStyle"><code>Style.PointStyle</code></a></p></td>
|
|
11179
11302
|
</tr>
|
|
11180
11303
|
|
|
11181
11304
|
|
|
@@ -11212,7 +11335,7 @@ rightBottom:右边考下</p></td>
|
|
|
11212
11335
|
</td>
|
|
11213
11336
|
|
|
11214
11337
|
|
|
11215
|
-
<td class="description last"><p>文本,类型(type)为label时样式参数参照<a
|
|
11338
|
+
<td class="description last"><p>文本,类型(type)为label时样式参数参照<a href="Style.html#.LabelStyle"><code>Style.LabelStyle</code></a></p></td>
|
|
11216
11339
|
</tr>
|
|
11217
11340
|
|
|
11218
11341
|
|
|
@@ -11249,7 +11372,7 @@ rightBottom:右边考下</p></td>
|
|
|
11249
11372
|
</td>
|
|
11250
11373
|
|
|
11251
11374
|
|
|
11252
|
-
<td class="description last"><p>广告牌,图标类型(type)为billboard时样式参数参照<a
|
|
11375
|
+
<td class="description last"><p>广告牌,图标类型(type)为billboard时样式参数参照<a href="Style.html#.BillboardStyle"><code>Style.BillboardStyle</code></a></p></td>
|
|
11253
11376
|
</tr>
|
|
11254
11377
|
|
|
11255
11378
|
|
|
@@ -11286,7 +11409,7 @@ rightBottom:右边考下</p></td>
|
|
|
11286
11409
|
</td>
|
|
11287
11410
|
|
|
11288
11411
|
|
|
11289
|
-
<td class="description last"><p>线,图标类型(type)为polyline时样式参数参照<a
|
|
11412
|
+
<td class="description last"><p>线,图标类型(type)为polyline时样式参数参照<a href="Style.html#.PolylineStyle"><code>Style.PolylineStyle</code></a></p></td>
|
|
11290
11413
|
</tr>
|
|
11291
11414
|
|
|
11292
11415
|
|
|
@@ -11323,7 +11446,7 @@ rightBottom:右边考下</p></td>
|
|
|
11323
11446
|
</td>
|
|
11324
11447
|
|
|
11325
11448
|
|
|
11326
|
-
<td class="description last"><p>圆管线,图标类型(type)为polylineVolume时样式参数参照<a
|
|
11449
|
+
<td class="description last"><p>圆管线,图标类型(type)为polylineVolume时样式参数参照<a href="Style.html#.PolylineVolumeStyle"><code>Style.PolylineVolumeStyle</code></a></p></td>
|
|
11327
11450
|
</tr>
|
|
11328
11451
|
|
|
11329
11452
|
|
|
@@ -11360,7 +11483,7 @@ rightBottom:右边考下</p></td>
|
|
|
11360
11483
|
</td>
|
|
11361
11484
|
|
|
11362
11485
|
|
|
11363
|
-
<td class="description last"><p>面(区),图标类型(type)为polygon时样式参数参照<a
|
|
11486
|
+
<td class="description last"><p>面(区),图标类型(type)为polygon时样式参数参照<a href="Style.html#.PolygonStyle"><code>Style.PolygonStyle</code></a></p></td>
|
|
11364
11487
|
</tr>
|
|
11365
11488
|
|
|
11366
11489
|
|
|
@@ -11397,7 +11520,7 @@ rightBottom:右边考下</p></td>
|
|
|
11397
11520
|
</td>
|
|
11398
11521
|
|
|
11399
11522
|
|
|
11400
|
-
<td class="description last"><p>矩形,图标类型(type)为rectangle时样式参数参照<a
|
|
11523
|
+
<td class="description last"><p>矩形,图标类型(type)为rectangle时样式参数参照<a href="Style.html#.RectangleStyle"><code>Style.RectangleStyle</code></a></p></td>
|
|
11401
11524
|
</tr>
|
|
11402
11525
|
|
|
11403
11526
|
|
|
@@ -11434,7 +11557,7 @@ rightBottom:右边考下</p></td>
|
|
|
11434
11557
|
</td>
|
|
11435
11558
|
|
|
11436
11559
|
|
|
11437
|
-
<td class="description last"><p>圆,图标类型(type)为circle时样式参数参照<a
|
|
11560
|
+
<td class="description last"><p>圆,图标类型(type)为circle时样式参数参照<a href="Style.html#.CircleStyle"><code>Style.CircleStyle</code></a></p></td>
|
|
11438
11561
|
</tr>
|
|
11439
11562
|
|
|
11440
11563
|
|
|
@@ -11471,7 +11594,7 @@ rightBottom:右边考下</p></td>
|
|
|
11471
11594
|
</td>
|
|
11472
11595
|
|
|
11473
11596
|
|
|
11474
|
-
<td class="description last"><p>方管线,图标类型(type)为corridor时样式参数参照<a
|
|
11597
|
+
<td class="description last"><p>方管线,图标类型(type)为corridor时样式参数参照<a href="Style.html#.CorridorStyle"><code>Style.CorridorStyle</code></a></p></td>
|
|
11475
11598
|
</tr>
|
|
11476
11599
|
|
|
11477
11600
|
|
|
@@ -11508,7 +11631,7 @@ rightBottom:右边考下</p></td>
|
|
|
11508
11631
|
</td>
|
|
11509
11632
|
|
|
11510
11633
|
|
|
11511
|
-
<td class="description last"><p>圆台(圆锥),图标类型(type)为cylinder时样式参数参照<a
|
|
11634
|
+
<td class="description last"><p>圆台(圆锥),图标类型(type)为cylinder时样式参数参照<a href="Style.html#.CylinderStyle"><code>Style.CylinderStyle</code></a></p></td>
|
|
11512
11635
|
</tr>
|
|
11513
11636
|
|
|
11514
11637
|
|
|
@@ -11545,7 +11668,7 @@ rightBottom:右边考下</p></td>
|
|
|
11545
11668
|
</td>
|
|
11546
11669
|
|
|
11547
11670
|
|
|
11548
|
-
<td class="description last"><p>椭球,图标类型(type)为ellipsoid时样式参数参照<a
|
|
11671
|
+
<td class="description last"><p>椭球,图标类型(type)为ellipsoid时样式参数参照<a href="Style.html#.EllipsoidStyle"><code>Style.EllipsoidStyle</code></a></p></td>
|
|
11549
11672
|
</tr>
|
|
11550
11673
|
|
|
11551
11674
|
|
|
@@ -11582,7 +11705,7 @@ rightBottom:右边考下</p></td>
|
|
|
11582
11705
|
</td>
|
|
11583
11706
|
|
|
11584
11707
|
|
|
11585
|
-
<td class="description last"><p>圆球,图标类型(type)为sphere时样式参数参照<a
|
|
11708
|
+
<td class="description last"><p>圆球,图标类型(type)为sphere时样式参数参照<a href="Style.html#.SphereStyle"><code>Style.SphereStyle</code></a></p></td>
|
|
11586
11709
|
</tr>
|
|
11587
11710
|
|
|
11588
11711
|
|
|
@@ -11619,7 +11742,7 @@ rightBottom:右边考下</p></td>
|
|
|
11619
11742
|
</td>
|
|
11620
11743
|
|
|
11621
11744
|
|
|
11622
|
-
<td class="description last"><p>墙,图标类型(type)为wall时样式参数参照<a
|
|
11745
|
+
<td class="description last"><p>墙,图标类型(type)为wall时样式参数参照<a href="Style.html#.WallStyle"><code>Style.WallStyle</code></a></p></td>
|
|
11623
11746
|
</tr>
|
|
11624
11747
|
|
|
11625
11748
|
|
|
@@ -11656,7 +11779,7 @@ rightBottom:右边考下</p></td>
|
|
|
11656
11779
|
</td>
|
|
11657
11780
|
|
|
11658
11781
|
|
|
11659
|
-
<td class="description last"><p>盒子,类型(type)为box时样式参数参照<a
|
|
11782
|
+
<td class="description last"><p>盒子,类型(type)为box时样式参数参照<a href="Style.html#.BoxStyle"><code>Style.BoxStyle</code></a></p></td>
|
|
11660
11783
|
</tr>
|
|
11661
11784
|
|
|
11662
11785
|
|
|
@@ -11693,7 +11816,7 @@ rightBottom:右边考下</p></td>
|
|
|
11693
11816
|
</td>
|
|
11694
11817
|
|
|
11695
11818
|
|
|
11696
|
-
<td class="description last"><p>gltf模型,类型(type)为model时样式参数参照<a
|
|
11819
|
+
<td class="description last"><p>gltf模型,类型(type)为model时样式参数参照<a href="Style.html#.ModelStyle"><code>Style.ModelStyle</code></a></p></td>
|
|
11697
11820
|
</tr>
|
|
11698
11821
|
|
|
11699
11822
|
|
|
@@ -12142,508 +12265,6 @@ rightBottom:右边考下</p></td>
|
|
|
12142
12265
|
|
|
12143
12266
|
|
|
12144
12267
|
|
|
12145
|
-
<div class='vertical-section'>
|
|
12146
|
-
<h3 id='function'>方法</h3>
|
|
12147
|
-
<div class="members">
|
|
12148
|
-
|
|
12149
|
-
<div class="member">
|
|
12150
|
-
|
|
12151
|
-
|
|
12152
|
-
|
|
12153
|
-
<h4 class="name" id=".creatstyle">
|
|
12154
|
-
<a class="href-link" href="#.creatstyle">#</a>
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
<span class='tag'>static</span>
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
<span class="code-name" style="font-size:30px">
|
|
12161
|
-
|
|
12162
|
-
creatstyle<span class="signature">(type, options)</span>
|
|
12163
|
-
|
|
12164
|
-
</span>
|
|
12165
|
-
</h4>
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
|
|
12169
|
-
<div class="description">
|
|
12170
|
-
<p>创建样式</p>
|
|
12171
|
-
</div>
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
<h4>参数:</h4>
|
|
12183
|
-
|
|
12184
|
-
<div class="table-container">
|
|
12185
|
-
<table class="params table">
|
|
12186
|
-
<thead>
|
|
12187
|
-
<tr>
|
|
12188
|
-
|
|
12189
|
-
<th>名称</th>
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
<th>类型</th>
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
<th class="last">描述</th>
|
|
12197
|
-
</tr>
|
|
12198
|
-
</thead>
|
|
12199
|
-
|
|
12200
|
-
<tbody>
|
|
12201
|
-
|
|
12202
|
-
|
|
12203
|
-
|
|
12204
|
-
<tr class="deep-level-0">
|
|
12205
|
-
|
|
12206
|
-
<td class="name"><code>type</code></td>
|
|
12207
|
-
|
|
12208
|
-
|
|
12209
|
-
<td class="type">
|
|
12210
|
-
|
|
12211
|
-
|
|
12212
|
-
<span class="param-type">String</span>
|
|
12213
|
-
|
|
12214
|
-
|
|
12215
|
-
|
|
12216
|
-
</td>
|
|
12217
|
-
|
|
12218
|
-
|
|
12219
|
-
|
|
12220
|
-
<td class="description last"><p>样式类型,参见<a class="mapgis-link-name" title="Style.styleType" Style.html#.styleType><code>Style.styleType</code></a></p></td>
|
|
12221
|
-
</tr>
|
|
12222
|
-
|
|
12223
|
-
|
|
12224
|
-
|
|
12225
|
-
|
|
12226
|
-
|
|
12227
|
-
|
|
12228
|
-
<tr class="deep-level-0">
|
|
12229
|
-
|
|
12230
|
-
<td class="name"><code>options</code></td>
|
|
12231
|
-
|
|
12232
|
-
|
|
12233
|
-
<td class="type">
|
|
12234
|
-
|
|
12235
|
-
|
|
12236
|
-
<span class="param-type">Object</span>
|
|
12237
|
-
|
|
12238
|
-
|
|
12239
|
-
|
|
12240
|
-
</td>
|
|
12241
|
-
|
|
12242
|
-
|
|
12243
|
-
|
|
12244
|
-
<td class="description last"><p>样式参数</p></td>
|
|
12245
|
-
</tr>
|
|
12246
|
-
|
|
12247
|
-
|
|
12248
|
-
|
|
12249
|
-
|
|
12250
|
-
</tbody>
|
|
12251
|
-
</table>
|
|
12252
|
-
</div>
|
|
12253
|
-
|
|
12254
|
-
|
|
12255
|
-
|
|
12256
|
-
|
|
12257
|
-
|
|
12258
|
-
|
|
12259
|
-
<dl class="details">
|
|
12260
|
-
|
|
12261
|
-
|
|
12262
|
-
|
|
12263
|
-
|
|
12264
|
-
|
|
12265
|
-
|
|
12266
|
-
|
|
12267
|
-
|
|
12268
|
-
|
|
12269
|
-
|
|
12270
|
-
|
|
12271
|
-
|
|
12272
|
-
|
|
12273
|
-
|
|
12274
|
-
|
|
12275
|
-
|
|
12276
|
-
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
|
|
12285
|
-
|
|
12286
|
-
|
|
12287
|
-
|
|
12288
|
-
|
|
12289
|
-
|
|
12290
|
-
|
|
12291
|
-
</dl>
|
|
12292
|
-
|
|
12293
|
-
|
|
12294
|
-
|
|
12295
|
-
|
|
12296
|
-
|
|
12297
|
-
|
|
12298
|
-
|
|
12299
|
-
|
|
12300
|
-
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
|
|
12304
|
-
|
|
12305
|
-
|
|
12306
|
-
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
|
|
12311
|
-
|
|
12312
|
-
|
|
12313
|
-
|
|
12314
|
-
|
|
12315
|
-
</div>
|
|
12316
|
-
|
|
12317
|
-
<div class="member">
|
|
12318
|
-
|
|
12319
|
-
|
|
12320
|
-
|
|
12321
|
-
<h4 class="name" id=".pack">
|
|
12322
|
-
<a class="href-link" href="#.pack">#</a>
|
|
12323
|
-
|
|
12324
|
-
|
|
12325
|
-
<span class='tag'>static</span>
|
|
12326
|
-
|
|
12327
|
-
|
|
12328
|
-
<span class="code-name" style="font-size:30px">
|
|
12329
|
-
|
|
12330
|
-
pack<span class="signature">()</span>
|
|
12331
|
-
|
|
12332
|
-
</span>
|
|
12333
|
-
</h4>
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
|
|
12337
|
-
<div class="description">
|
|
12338
|
-
<p>将Style对象转换成与cesium无关的对象</p>
|
|
12339
|
-
</div>
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
-
|
|
12346
|
-
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
|
|
12354
|
-
<dl class="details">
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
|
|
12375
|
-
|
|
12376
|
-
|
|
12377
|
-
|
|
12378
|
-
|
|
12379
|
-
|
|
12380
|
-
|
|
12381
|
-
|
|
12382
|
-
|
|
12383
|
-
|
|
12384
|
-
|
|
12385
|
-
|
|
12386
|
-
</dl>
|
|
12387
|
-
|
|
12388
|
-
|
|
12389
|
-
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12401
|
-
|
|
12402
|
-
|
|
12403
|
-
|
|
12404
|
-
|
|
12405
|
-
<div class='columns method-parameter'>
|
|
12406
|
-
<div class="column is-2"><label>返回值:</label></div>
|
|
12407
|
-
<div class="column is-10">
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
<div class="columns">
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
<div class='column is-5 has-text-left'>
|
|
12415
|
-
<label>类型: </label>
|
|
12416
|
-
|
|
12417
|
-
<span class="param-type">Object</span>
|
|
12418
|
-
|
|
12419
|
-
|
|
12420
|
-
</div>
|
|
12421
|
-
|
|
12422
|
-
</div>
|
|
12423
|
-
|
|
12424
|
-
|
|
12425
|
-
</div>
|
|
12426
|
-
</div>
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12430
|
-
|
|
12431
|
-
|
|
12432
|
-
|
|
12433
|
-
<h5>示例</h5>
|
|
12434
|
-
|
|
12435
|
-
|
|
12436
|
-
<pre class="prettyprint"><code>var options = new Cesium.Style('label', {text:'mapgis',color:#ffffff});
|
|
12437
|
-
var packedObject = options.pack();</code></pre>
|
|
12438
|
-
|
|
12439
|
-
|
|
12440
|
-
|
|
12441
|
-
</div>
|
|
12442
|
-
|
|
12443
|
-
<div class="member">
|
|
12444
|
-
|
|
12445
|
-
|
|
12446
|
-
|
|
12447
|
-
<h4 class="name" id=".unpack">
|
|
12448
|
-
<a class="href-link" href="#.unpack">#</a>
|
|
12449
|
-
|
|
12450
|
-
|
|
12451
|
-
<span class='tag'>static</span>
|
|
12452
|
-
|
|
12453
|
-
|
|
12454
|
-
<span class="code-name" style="font-size:30px">
|
|
12455
|
-
|
|
12456
|
-
unpack<span class="signature">(type, style)</span>
|
|
12457
|
-
|
|
12458
|
-
</span>
|
|
12459
|
-
</h4>
|
|
12460
|
-
|
|
12461
|
-
|
|
12462
|
-
|
|
12463
|
-
<div class="description">
|
|
12464
|
-
<p>将对象转换成Style类型的对象</p>
|
|
12465
|
-
</div>
|
|
12466
|
-
|
|
12467
|
-
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
<h4>参数:</h4>
|
|
12477
|
-
|
|
12478
|
-
<div class="table-container">
|
|
12479
|
-
<table class="params table">
|
|
12480
|
-
<thead>
|
|
12481
|
-
<tr>
|
|
12482
|
-
|
|
12483
|
-
<th>名称</th>
|
|
12484
|
-
|
|
12485
|
-
|
|
12486
|
-
<th>类型</th>
|
|
12487
|
-
|
|
12488
|
-
|
|
12489
|
-
|
|
12490
|
-
<th class="last">描述</th>
|
|
12491
|
-
</tr>
|
|
12492
|
-
</thead>
|
|
12493
|
-
|
|
12494
|
-
<tbody>
|
|
12495
|
-
|
|
12496
|
-
|
|
12497
|
-
|
|
12498
|
-
<tr class="deep-level-0">
|
|
12499
|
-
|
|
12500
|
-
<td class="name"><code>type</code></td>
|
|
12501
|
-
|
|
12502
|
-
|
|
12503
|
-
<td class="type">
|
|
12504
|
-
|
|
12505
|
-
|
|
12506
|
-
<span class="param-type">String</span>
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
|
|
12510
|
-
</td>
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
12514
|
-
<td class="description last"><p>样式类型</p></td>
|
|
12515
|
-
</tr>
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
|
|
12521
|
-
|
|
12522
|
-
<tr class="deep-level-0">
|
|
12523
|
-
|
|
12524
|
-
<td class="name"><code>style</code></td>
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
<td class="type">
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
|
-
<span class="param-type">Object</span>
|
|
12531
|
-
|
|
12532
|
-
|
|
12533
|
-
|
|
12534
|
-
</td>
|
|
12535
|
-
|
|
12536
|
-
|
|
12537
|
-
|
|
12538
|
-
<td class="description last"><p>从JSON或者其他地方读取的样式参数对象</p></td>
|
|
12539
|
-
</tr>
|
|
12540
|
-
|
|
12541
|
-
|
|
12542
|
-
|
|
12543
|
-
|
|
12544
|
-
</tbody>
|
|
12545
|
-
</table>
|
|
12546
|
-
</div>
|
|
12547
|
-
|
|
12548
|
-
|
|
12549
|
-
|
|
12550
|
-
|
|
12551
|
-
|
|
12552
|
-
|
|
12553
|
-
<dl class="details">
|
|
12554
|
-
|
|
12555
|
-
|
|
12556
|
-
|
|
12557
|
-
|
|
12558
|
-
|
|
12559
|
-
|
|
12560
|
-
|
|
12561
|
-
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
|
|
12567
|
-
|
|
12568
|
-
|
|
12569
|
-
|
|
12570
|
-
|
|
12571
|
-
|
|
12572
|
-
|
|
12573
|
-
|
|
12574
|
-
|
|
12575
|
-
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
|
|
12579
|
-
|
|
12580
|
-
|
|
12581
|
-
|
|
12582
|
-
|
|
12583
|
-
|
|
12584
|
-
|
|
12585
|
-
</dl>
|
|
12586
|
-
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12591
|
-
|
|
12592
|
-
|
|
12593
|
-
|
|
12594
|
-
|
|
12595
|
-
|
|
12596
|
-
|
|
12597
|
-
|
|
12598
|
-
|
|
12599
|
-
|
|
12600
|
-
|
|
12601
|
-
|
|
12602
|
-
|
|
12603
|
-
|
|
12604
|
-
<div class='columns method-parameter'>
|
|
12605
|
-
<div class="column is-2"><label>返回值:</label></div>
|
|
12606
|
-
<div class="column is-10">
|
|
12607
|
-
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
<div class="columns">
|
|
12611
|
-
|
|
12612
|
-
<div class='param-desc column is-7'><p>返回对应cesium样式的对象</p></div>
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
<div class='column is-5 has-text-left'>
|
|
12616
|
-
<label>类型: </label>
|
|
12617
|
-
|
|
12618
|
-
<span class="param-type"><a class="mapgis-link-name" title="Style" Style.html>Style</a></span>
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
</div>
|
|
12622
|
-
|
|
12623
|
-
</div>
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
</div>
|
|
12627
|
-
</div>
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
<h5>示例</h5>
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
<pre class="prettyprint"><code>var options = {type:'label', style:{text:'mapgis',color:#ffffff}};
|
|
12638
|
-
var packedObject = Cesium.Style.unpack(options);</code></pre>
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
|
|
12642
|
-
</div>
|
|
12643
|
-
|
|
12644
|
-
</div>
|
|
12645
|
-
</div>
|
|
12646
|
-
|
|
12647
12268
|
|
|
12648
12269
|
|
|
12649
12270
|
|
|
@@ -12659,7 +12280,7 @@ var packedObject = Cesium.Style.unpack(options);</code></pre>
|
|
|
12659
12280
|
|
|
12660
12281
|
<footer class="footer">
|
|
12661
12282
|
<div class="content has-text-centered">
|
|
12662
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc
|
|
12283
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
12663
12284
|
<p class="sidebar-created-by">
|
|
12664
12285
|
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
12665
12286
|
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|