@mapgis/webclient-cesium-plugin 17.2.8 → 17.2.11
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 +24 -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
|
@@ -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/>
|
|
@@ -284,16 +390,19 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
284
390
|
|
|
285
391
|
|
|
286
392
|
|
|
393
|
+
|
|
394
|
+
<p class="summary"><h5>请参考以下示例:</h5>
|
|
395
|
+
<a href='#example1'>1、热力图</a><br></p>
|
|
287
396
|
|
|
288
397
|
|
|
289
398
|
|
|
290
399
|
<h5>示例</h5>
|
|
291
400
|
|
|
292
|
-
<p class="code-caption"><h7>热力图</h7></p>
|
|
401
|
+
<p class="code-caption"><h7 id='example1'>热力图</h7></p>
|
|
293
402
|
|
|
294
403
|
|
|
295
404
|
<pre class="prettyprint"><code>// 参考示例:
|
|
296
|
-
http://
|
|
405
|
+
http://webclient.smaryun.com/#/modules/cesium/visualization/themeLayer/heat-map
|
|
297
406
|
|
|
298
407
|
// ES5引入方式
|
|
299
408
|
const { CesiumHeatmap } = zondy.cesium
|
|
@@ -450,2432 +559,7 @@ heatMap.setWGS84Data(30, 150, heatMapData)</code></pre>
|
|
|
450
559
|
<td class="type">
|
|
451
560
|
|
|
452
561
|
|
|
453
|
-
<span class="param-type"><a
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
</td>
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
<td class="default">
|
|
461
|
-
|
|
462
|
-
null
|
|
463
|
-
|
|
464
|
-
</td>
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
<td class="description last"><p>场景视图</p></td>
|
|
468
|
-
</tr>
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
<tr class="deep-level-0">
|
|
476
|
-
|
|
477
|
-
<td class="name"><code>boundingbox</code></td>
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
<td class="type">
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
<span class="param-type">Cesium.Rectangle</span>
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
</td>
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
<td class="default">
|
|
491
|
-
|
|
492
|
-
null
|
|
493
|
-
|
|
494
|
-
</td>
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
<td class="description last"><p>热力图范围</p></td>
|
|
498
|
-
</tr>
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
<tr class="deep-level-0">
|
|
506
|
-
|
|
507
|
-
<td class="name"><code>options</code></td>
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
<td class="type">
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
<span class="param-type">Object</span>
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
</td>
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
<td class="default">
|
|
521
|
-
|
|
522
|
-
{}
|
|
523
|
-
|
|
524
|
-
</td>
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
<td class="description last"><p>可选参数</p></td>
|
|
528
|
-
</tr>
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
<tr class="deep-level-1">
|
|
534
|
-
|
|
535
|
-
<td class="name"><code>minCanvasSize</code></td>
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
<td class="type">
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
<span class="param-type">Number</span>
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
</td>
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
<td class="default">
|
|
549
|
-
|
|
550
|
-
700
|
|
551
|
-
|
|
552
|
-
</td>
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
<td class="description last"><p>热力图画布最小尺寸</p></td>
|
|
556
|
-
</tr>
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
<tr class="deep-level-1">
|
|
562
|
-
|
|
563
|
-
<td class="name"><code>maxCanvasSize</code></td>
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
<td class="type">
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
<span class="param-type">Number</span>
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
</td>
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
<td class="default">
|
|
577
|
-
|
|
578
|
-
2000
|
|
579
|
-
|
|
580
|
-
</td>
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
<td class="description last"><p>热力图画布最大尺寸</p></td>
|
|
584
|
-
</tr>
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
<tr class="deep-level-1">
|
|
590
|
-
|
|
591
|
-
<td class="name"><code>radiusFactor</code></td>
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
<td class="type">
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
<span class="param-type">Number</span>
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
</td>
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
<td class="default">
|
|
605
|
-
|
|
606
|
-
60
|
|
607
|
-
|
|
608
|
-
</td>
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
<td class="description last"><p>如果没有给出半径,则使用数据点大小因子(高度和宽度中的较大者除以这个数字产生使用的半径)</p></td>
|
|
612
|
-
</tr>
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
<tr class="deep-level-1">
|
|
618
|
-
|
|
619
|
-
<td class="name"><code>spacingFactor</code></td>
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
<td class="type">
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
<span class="param-type">Number</span>
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
</td>
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
<td class="default">
|
|
633
|
-
|
|
634
|
-
1.5
|
|
635
|
-
|
|
636
|
-
</td>
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
<td class="description last"><p>边界周围的额外空间(点半径乘以这个数字产生间距)</p></td>
|
|
640
|
-
</tr>
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
<tr class="deep-level-1">
|
|
646
|
-
|
|
647
|
-
<td class="name"><code>maxOpacity</code></td>
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
<td class="type">
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
<span class="param-type">Number</span>
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
</td>
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
<td class="default">
|
|
661
|
-
|
|
662
|
-
0.8
|
|
663
|
-
|
|
664
|
-
</td>
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
<td class="description last"><p>如果未在热力图选项对象中给出,则使用的最大不透明度</p></td>
|
|
668
|
-
</tr>
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
<tr class="deep-level-1">
|
|
674
|
-
|
|
675
|
-
<td class="name"><code>minOpacity</code></td>
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
<td class="type">
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
<span class="param-type">Number</span>
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
</td>
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
<td class="default">
|
|
689
|
-
|
|
690
|
-
0.1
|
|
691
|
-
|
|
692
|
-
</td>
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
<td class="description last"><p>如果未在热图选项对象中给出,则使用的最小不透明度</p></td>
|
|
696
|
-
</tr>
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
<tr class="deep-level-1">
|
|
702
|
-
|
|
703
|
-
<td class="name"><code>blur</code></td>
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
<td class="type">
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
<span class="param-type">Number</span>
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
</td>
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
<td class="default">
|
|
717
|
-
|
|
718
|
-
0.85
|
|
719
|
-
|
|
720
|
-
</td>
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
<td class="description last"><p>如果未在热力图选项对象中给出,则使用的模糊值为0.85。模糊值越高,渐变越平滑。</p></td>
|
|
724
|
-
</tr>
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
<tr class="deep-level-1">
|
|
730
|
-
|
|
731
|
-
<td class="name"><code>gradient</code></td>
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
<td class="type">
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
<span class="param-type">Object</span>
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
</td>
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
<td class="default">
|
|
745
|
-
|
|
746
|
-
{'0.3':'rgb(0,0,255)','0.65':'yellow','0.8':'orange','0.95':'red'}
|
|
747
|
-
|
|
748
|
-
</td>
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
<td class="description last"><p>热力图颜色梯度</p></td>
|
|
752
|
-
</tr>
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
<tr class="deep-level-1">
|
|
758
|
-
|
|
759
|
-
<td class="name"><code>canChange</code></td>
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
<td class="type">
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
<span class="param-type">Boolean</span>
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
</td>
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
<td class="default">
|
|
773
|
-
|
|
774
|
-
true
|
|
775
|
-
|
|
776
|
-
</td>
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
<td class="description last"><p>默认自动重算热力半径</p></td>
|
|
780
|
-
</tr>
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
</tbody>
|
|
789
|
-
</table>
|
|
790
|
-
</div>
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
<dl class="details">
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
</dl>
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
<div class='columns method-parameter'>
|
|
849
|
-
<div class="column is-2"><label>返回值:</label></div>
|
|
850
|
-
<div class="column is-10">
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
<div class="columns">
|
|
855
|
-
|
|
856
|
-
<div class='param-desc column is-7'><p>热力图对象</p></div>
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
<div class='column is-5 has-text-left'>
|
|
860
|
-
<label>类型: </label>
|
|
861
|
-
|
|
862
|
-
<span class="param-type">Object</span>
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
</div>
|
|
866
|
-
|
|
867
|
-
</div>
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
</div>
|
|
871
|
-
</div>
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
</div>
|
|
879
|
-
|
|
880
|
-
<div class="member">
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
<h4 class="name" id=".mercatorToWgs84">
|
|
885
|
-
<a class="href-link" href="#.mercatorToWgs84">#</a>
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
<span class='tag'>static</span>
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
<span class="code-name" style="font-size:30px">
|
|
892
|
-
|
|
893
|
-
mercatorToWgs84<span class="signature">()</span>
|
|
894
|
-
|
|
895
|
-
</span>
|
|
896
|
-
</h4>
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
<div class="description">
|
|
901
|
-
<p>Convert a mercator location into a WGS84 location</p>
|
|
902
|
-
<p>p: the mercator lcation like {x, y}</p>
|
|
903
|
-
</div>
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
<dl class="details">
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
</dl>
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
</div>
|
|
975
|
-
|
|
976
|
-
</div>
|
|
977
|
-
</div>
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
</article>
|
|
984
|
-
|
|
985
|
-
</section>
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
<section>
|
|
994
|
-
|
|
995
|
-
<article>
|
|
996
|
-
<div class="container-overview">
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
<div class='vertical-section'>
|
|
1000
|
-
<div class="members">
|
|
1001
|
-
<div class="member">
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
<h4 class="name" id="CesiumHeatmap">
|
|
1007
|
-
<a class="href-link" href="#CesiumHeatmap">#</a>
|
|
1008
|
-
|
|
1009
|
-
<span class="code-name" style="font-size:30px">
|
|
1010
|
-
|
|
1011
|
-
new CesiumHeatmap<span class="signature">(viewer, options<span class="signature-attributes">opt</span>)</span>
|
|
1012
|
-
|
|
1013
|
-
</span>
|
|
1014
|
-
</h4>
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
<div class="description">
|
|
1019
|
-
<p>填挖方分析</p>
|
|
1020
|
-
</div>
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
<h4>参数:</h4>
|
|
1032
|
-
|
|
1033
|
-
<div class="table-container">
|
|
1034
|
-
<table class="params table">
|
|
1035
|
-
<thead>
|
|
1036
|
-
<tr>
|
|
1037
|
-
|
|
1038
|
-
<th>名称</th>
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
<th>类型</th>
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
<th style="min-width: 100px;">默认值</th>
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
<th class="last">描述</th>
|
|
1048
|
-
</tr>
|
|
1049
|
-
</thead>
|
|
1050
|
-
|
|
1051
|
-
<tbody>
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
<tr class="deep-level-0">
|
|
1056
|
-
|
|
1057
|
-
<td class="name"><code>viewer</code></td>
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
<td class="type">
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
<span class="param-type"><a class="mapgis-link-name" title="Cesium.Viewer" Cesium.Viewer.html>Cesium.Viewer</a></span>
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
</td>
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
<td class="default">
|
|
1071
|
-
|
|
1072
|
-
</td>
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
<td class="description last"><p>场景视图对象</p></td>
|
|
1076
|
-
</tr>
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
<tr class="deep-level-0">
|
|
1084
|
-
|
|
1085
|
-
<td class="name"><code>options</code></td>
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
<td class="type">
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
<span class="param-type">Object</span>
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
</td>
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
<td class="default">
|
|
1099
|
-
|
|
1100
|
-
{}
|
|
1101
|
-
|
|
1102
|
-
</td>
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
<td class="description last"><p>附加参数</p></td>
|
|
1106
|
-
</tr>
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
<tr class="deep-level-1">
|
|
1112
|
-
|
|
1113
|
-
<td class="name"><code>dataLyers</code></td>
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
<td class="type">
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
<span class="param-type">Object</span>
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
</td>
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
<td class="default">
|
|
1127
|
-
|
|
1128
|
-
viewer.terrainProvider
|
|
1129
|
-
|
|
1130
|
-
</td>
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
<td class="description last"><p>地形图层</p></td>
|
|
1134
|
-
</tr>
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
<tr class="deep-level-1">
|
|
1140
|
-
|
|
1141
|
-
<td class="name"><code>xPaneNum</code></td>
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
<td class="type">
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
<span class="param-type">Number</span>
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
</td>
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
<td class="default">
|
|
1155
|
-
|
|
1156
|
-
16
|
|
1157
|
-
|
|
1158
|
-
</td>
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
<td class="description last"><p>X坐标方向采样点的个数,数值越大采样点越多,采样耗时越久</p></td>
|
|
1162
|
-
</tr>
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
<tr class="deep-level-1">
|
|
1168
|
-
|
|
1169
|
-
<td class="name"><code>yPaneNum</code></td>
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
<td class="type">
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
<span class="param-type">Number</span>
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
</td>
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
<td class="default">
|
|
1183
|
-
|
|
1184
|
-
16
|
|
1185
|
-
|
|
1186
|
-
</td>
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
<td class="description last"><p>Y坐标方向采样点的个数,数值越大采样点越多,采样耗时越久</p></td>
|
|
1190
|
-
</tr>
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
<tr class="deep-level-1">
|
|
1196
|
-
|
|
1197
|
-
<td class="name"><code>xCellLength</code></td>
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
<td class="type">
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
<span class="param-type">Number</span>
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
</td>
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
<td class="default">
|
|
1211
|
-
|
|
1212
|
-
-1
|
|
1213
|
-
|
|
1214
|
-
</td>
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
<td class="description last"><p>设定格子X方向距离,默认为负值的情况下,使用直接设定paneNumber的采样点个数</p></td>
|
|
1218
|
-
</tr>
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
<tr class="deep-level-1">
|
|
1224
|
-
|
|
1225
|
-
<td class="name"><code>yCellLength</code></td>
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
<td class="type">
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
<span class="param-type">Number</span>
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
</td>
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
<td class="default">
|
|
1239
|
-
|
|
1240
|
-
-1
|
|
1241
|
-
|
|
1242
|
-
</td>
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
<td class="description last"><p>设定格子Y方向距离</p></td>
|
|
1246
|
-
</tr>
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
<tr class="deep-level-1">
|
|
1252
|
-
|
|
1253
|
-
<td class="name"><code>height</code></td>
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
<td class="type">
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
<span class="param-type">Number</span>
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
</td>
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
<td class="default">
|
|
1267
|
-
|
|
1268
|
-
0
|
|
1269
|
-
|
|
1270
|
-
</td>
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
<td class="description last"><p>填挖方平整高程,低于该高度会计算填方体积,高于该高度会计算挖方体积</p></td>
|
|
1274
|
-
</tr>
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
<tr class="deep-level-1">
|
|
1280
|
-
|
|
1281
|
-
<td class="name"><code>dataType</code></td>
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
<td class="type">
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
<span class="param-type">Number</span>
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
</td>
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
<td class="default">
|
|
1295
|
-
|
|
1296
|
-
0.0
|
|
1297
|
-
|
|
1298
|
-
</td>
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
<td class="description last"><p>要采样的数据类型,0.0:地形,1.0:模型,2.0:场景(地形加模型),请注意当采样类型选择,模型或场景是,采样速度会变慢</p></td>
|
|
1302
|
-
</tr>
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
<tr class="deep-level-1">
|
|
1308
|
-
|
|
1309
|
-
<td class="name"><code>callBack</code></td>
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
<td class="type">
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
<span class="param-type">function</span>
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
</td>
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
<td class="default">
|
|
1323
|
-
|
|
1324
|
-
null
|
|
1325
|
-
|
|
1326
|
-
</td>
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
<td class="description last"><p>结果回调函数</p></td>
|
|
1330
|
-
</tr>
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
<tr class="deep-level-1">
|
|
1336
|
-
|
|
1337
|
-
<td class="name"><code>terrainLevel</code></td>
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
<td class="type">
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
<span class="param-type">Number</span>
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
</td>
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
<td class="default">
|
|
1351
|
-
|
|
1352
|
-
-1
|
|
1353
|
-
|
|
1354
|
-
</td>
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
<td class="description last"><p>地形取高程时使用的地形层级,默认使用最精细级</p></td>
|
|
1358
|
-
</tr>
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
</tbody>
|
|
1367
|
-
</table>
|
|
1368
|
-
</div>
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
<dl class="details">
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
</dl>
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
<h5>示例</h5>
|
|
1432
|
-
|
|
1433
|
-
<p class="code-caption"><h7>填挖方分析</h7></p>
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
<pre class="prettyprint"><code>// ES5引入方式
|
|
1437
|
-
const { CutFillAnalysis } = zondy.cesium
|
|
1438
|
-
// ES6引入方式
|
|
1439
|
-
import { CutFillAnalysis } from "@mapgis/webclient-cesium-plugin"
|
|
1440
|
-
|
|
1441
|
-
// 1 初始化填挖方分析对象
|
|
1442
|
-
const cutFill = new CutFillAnalysis(viewer, {
|
|
1443
|
-
// 要采样的数据类型,0.0:地形,1.0:模型,2.0:场景(地形加模型)
|
|
1444
|
-
dataType: 0,
|
|
1445
|
-
// X坐标方向采样点的个数,数值越大采样点越多,采样耗时越久
|
|
1446
|
-
xPaneNum: 16,
|
|
1447
|
-
// Y坐标方向采样点的个数,数值越大采样点越多,采样耗时越久
|
|
1448
|
-
yPaneNum: 16,
|
|
1449
|
-
// 填挖方平整高程,低于该高度会计算填方体积,高于该高度会计算挖方体积
|
|
1450
|
-
height: 1200,
|
|
1451
|
-
// 采样后的回调函数
|
|
1452
|
-
callBack: function (result) {
|
|
1453
|
-
console.log("填挖方计算结果:", result)
|
|
1454
|
-
}
|
|
1455
|
-
});
|
|
1456
|
-
// 设置填挖方范围数组,笛卡尔3坐标数组
|
|
1457
|
-
cutFill.dotsPolygonList = []
|
|
1458
|
-
// 如果不是模型采样,则添加要采样的地形
|
|
1459
|
-
cutFill.terrainProvider = viewer.terrainProvider;
|
|
1460
|
-
|
|
1461
|
-
// 2 开始填挖方分析
|
|
1462
|
-
//获取最大最小经纬度的值
|
|
1463
|
-
const minMax = cutFill.getMinAndMaxCartesian()
|
|
1464
|
-
// 开始分析
|
|
1465
|
-
cutFill.start(minMax)</code></pre>
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
</div>
|
|
1471
|
-
</div>
|
|
1472
|
-
</div>
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
</div>
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
<div class='vertical-section'>
|
|
1493
|
-
<h3 id='function'>方法</h3>
|
|
1494
|
-
<div class="members">
|
|
1495
|
-
|
|
1496
|
-
<div class="member">
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
<h4 class="name" id=".create">
|
|
1501
|
-
<a class="href-link" href="#.create">#</a>
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
<span class='tag'>static</span>
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
<span class="code-name" style="font-size:30px">
|
|
1508
|
-
|
|
1509
|
-
create<span class="signature">(viewer<span class="signature-attributes">opt</span>, boundingbox<span class="signature-attributes">opt</span>, options<span class="signature-attributes">opt</span>)</span>
|
|
1510
|
-
|
|
1511
|
-
</span>
|
|
1512
|
-
</h4>
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
<div class="description">
|
|
1517
|
-
<p>创建并返回一个热力图对象</p>
|
|
1518
|
-
</div>
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
<h4>参数:</h4>
|
|
1530
|
-
|
|
1531
|
-
<div class="table-container">
|
|
1532
|
-
<table class="params table">
|
|
1533
|
-
<thead>
|
|
1534
|
-
<tr>
|
|
1535
|
-
|
|
1536
|
-
<th>名称</th>
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
<th>类型</th>
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
<th style="min-width: 100px;">默认值</th>
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
<th class="last">描述</th>
|
|
1546
|
-
</tr>
|
|
1547
|
-
</thead>
|
|
1548
|
-
|
|
1549
|
-
<tbody>
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
<tr class="deep-level-0">
|
|
1554
|
-
|
|
1555
|
-
<td class="name"><code>viewer</code></td>
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
<td class="type">
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
<span class="param-type"><a class="mapgis-link-name" title="Cesium.Viewer" Cesium.Viewer.html>Cesium.Viewer</a></span>
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
</td>
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
<td class="default">
|
|
1569
|
-
|
|
1570
|
-
null
|
|
1571
|
-
|
|
1572
|
-
</td>
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
<td class="description last"><p>场景视图</p></td>
|
|
1576
|
-
</tr>
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
<tr class="deep-level-0">
|
|
1584
|
-
|
|
1585
|
-
<td class="name"><code>boundingbox</code></td>
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
<td class="type">
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
<span class="param-type">Cesium.Rectangle</span>
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
</td>
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
<td class="default">
|
|
1599
|
-
|
|
1600
|
-
null
|
|
1601
|
-
|
|
1602
|
-
</td>
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
<td class="description last"><p>热力图范围</p></td>
|
|
1606
|
-
</tr>
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
<tr class="deep-level-0">
|
|
1614
|
-
|
|
1615
|
-
<td class="name"><code>options</code></td>
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
<td class="type">
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
<span class="param-type">Object</span>
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
</td>
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
<td class="default">
|
|
1629
|
-
|
|
1630
|
-
{}
|
|
1631
|
-
|
|
1632
|
-
</td>
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
<td class="description last"><p>可选参数</p></td>
|
|
1636
|
-
</tr>
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
<tr class="deep-level-1">
|
|
1642
|
-
|
|
1643
|
-
<td class="name"><code>minCanvasSize</code></td>
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
<td class="type">
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
<span class="param-type">Number</span>
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
</td>
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
<td class="default">
|
|
1657
|
-
|
|
1658
|
-
700
|
|
1659
|
-
|
|
1660
|
-
</td>
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
<td class="description last"><p>热力图画布最小尺寸</p></td>
|
|
1664
|
-
</tr>
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
<tr class="deep-level-1">
|
|
1670
|
-
|
|
1671
|
-
<td class="name"><code>maxCanvasSize</code></td>
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
<td class="type">
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
<span class="param-type">Number</span>
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
</td>
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
<td class="default">
|
|
1685
|
-
|
|
1686
|
-
2000
|
|
1687
|
-
|
|
1688
|
-
</td>
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
<td class="description last"><p>热力图画布最大尺寸</p></td>
|
|
1692
|
-
</tr>
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
<tr class="deep-level-1">
|
|
1698
|
-
|
|
1699
|
-
<td class="name"><code>radiusFactor</code></td>
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
<td class="type">
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
<span class="param-type">Number</span>
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
</td>
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
<td class="default">
|
|
1713
|
-
|
|
1714
|
-
60
|
|
1715
|
-
|
|
1716
|
-
</td>
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
<td class="description last"><p>如果没有给出半径,则使用数据点大小因子(高度和宽度中的较大者除以这个数字产生使用的半径)</p></td>
|
|
1720
|
-
</tr>
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
<tr class="deep-level-1">
|
|
1726
|
-
|
|
1727
|
-
<td class="name"><code>spacingFactor</code></td>
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
<td class="type">
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
<span class="param-type">Number</span>
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
</td>
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
<td class="default">
|
|
1741
|
-
|
|
1742
|
-
1.5
|
|
1743
|
-
|
|
1744
|
-
</td>
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
<td class="description last"><p>边界周围的额外空间(点半径乘以这个数字产生间距)</p></td>
|
|
1748
|
-
</tr>
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
<tr class="deep-level-1">
|
|
1754
|
-
|
|
1755
|
-
<td class="name"><code>maxOpacity</code></td>
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
<td class="type">
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
<span class="param-type">Number</span>
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
</td>
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
<td class="default">
|
|
1769
|
-
|
|
1770
|
-
0.8
|
|
1771
|
-
|
|
1772
|
-
</td>
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
<td class="description last"><p>如果未在热力图选项对象中给出,则使用的最大不透明度</p></td>
|
|
1776
|
-
</tr>
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
<tr class="deep-level-1">
|
|
1782
|
-
|
|
1783
|
-
<td class="name"><code>minOpacity</code></td>
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
<td class="type">
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
<span class="param-type">Number</span>
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
</td>
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
<td class="default">
|
|
1797
|
-
|
|
1798
|
-
0.1
|
|
1799
|
-
|
|
1800
|
-
</td>
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
<td class="description last"><p>如果未在热图选项对象中给出,则使用的最小不透明度</p></td>
|
|
1804
|
-
</tr>
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
<tr class="deep-level-1">
|
|
1810
|
-
|
|
1811
|
-
<td class="name"><code>blur</code></td>
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
<td class="type">
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
<span class="param-type">Number</span>
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
</td>
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
<td class="default">
|
|
1825
|
-
|
|
1826
|
-
0.85
|
|
1827
|
-
|
|
1828
|
-
</td>
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
<td class="description last"><p>如果未在热力图选项对象中给出,则使用的模糊值为0.85。模糊值越高,渐变越平滑。</p></td>
|
|
1832
|
-
</tr>
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
<tr class="deep-level-1">
|
|
1838
|
-
|
|
1839
|
-
<td class="name"><code>gradient</code></td>
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
<td class="type">
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
<span class="param-type">Object</span>
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
</td>
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
<td class="default">
|
|
1853
|
-
|
|
1854
|
-
{'0.3':'rgb(0,0,255)','0.65':'yellow','0.8':'orange','0.95':'red'}
|
|
1855
|
-
|
|
1856
|
-
</td>
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
<td class="description last"><p>热力图颜色梯度</p></td>
|
|
1860
|
-
</tr>
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
<tr class="deep-level-1">
|
|
1866
|
-
|
|
1867
|
-
<td class="name"><code>canChange</code></td>
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
<td class="type">
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
<span class="param-type">Boolean</span>
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
</td>
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
<td class="default">
|
|
1881
|
-
|
|
1882
|
-
true
|
|
1883
|
-
|
|
1884
|
-
</td>
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
<td class="description last"><p>默认自动重算热力半径</p></td>
|
|
1888
|
-
</tr>
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
</tbody>
|
|
1897
|
-
</table>
|
|
1898
|
-
</div>
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
<dl class="details">
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
</dl>
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
<div class='columns method-parameter'>
|
|
1957
|
-
<div class="column is-2"><label>返回值:</label></div>
|
|
1958
|
-
<div class="column is-10">
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
<div class="columns">
|
|
1963
|
-
|
|
1964
|
-
<div class='param-desc column is-7'><p>热力图对象</p></div>
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
<div class='column is-5 has-text-left'>
|
|
1968
|
-
<label>类型: </label>
|
|
1969
|
-
|
|
1970
|
-
<span class="param-type">Object</span>
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
</div>
|
|
1974
|
-
|
|
1975
|
-
</div>
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
</div>
|
|
1979
|
-
</div>
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
</div>
|
|
1987
|
-
|
|
1988
|
-
<div class="member">
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
<h4 class="name" id=".mercatorToWgs84">
|
|
1993
|
-
<a class="href-link" href="#.mercatorToWgs84">#</a>
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
<span class='tag'>static</span>
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
<span class="code-name" style="font-size:30px">
|
|
2000
|
-
|
|
2001
|
-
mercatorToWgs84<span class="signature">()</span>
|
|
2002
|
-
|
|
2003
|
-
</span>
|
|
2004
|
-
</h4>
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
<div class="description">
|
|
2009
|
-
<p>Convert a mercator location into a WGS84 location</p>
|
|
2010
|
-
<p>p: the mercator lcation like {x, y}</p>
|
|
2011
|
-
</div>
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
<dl class="details">
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
</dl>
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
</div>
|
|
2083
|
-
|
|
2084
|
-
</div>
|
|
2085
|
-
</div>
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
</article>
|
|
2092
|
-
|
|
2093
|
-
</section>
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
<section>
|
|
2102
|
-
|
|
2103
|
-
<article>
|
|
2104
|
-
<div class="container-overview">
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
<div class='vertical-section'>
|
|
2108
|
-
<div class="members">
|
|
2109
|
-
<div class="member">
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
<h4 class="name" id="CesiumHeatmap">
|
|
2115
|
-
<a class="href-link" href="#CesiumHeatmap">#</a>
|
|
2116
|
-
|
|
2117
|
-
<span class="code-name" style="font-size:30px">
|
|
2118
|
-
|
|
2119
|
-
new CesiumHeatmap<span class="signature">(viewer, options)</span>
|
|
2120
|
-
|
|
2121
|
-
</span>
|
|
2122
|
-
</h4>
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
<div class="description">
|
|
2127
|
-
<p>统计图</p>
|
|
2128
|
-
</div>
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
<h4>参数:</h4>
|
|
2140
|
-
|
|
2141
|
-
<div class="table-container">
|
|
2142
|
-
<table class="params table">
|
|
2143
|
-
<thead>
|
|
2144
|
-
<tr>
|
|
2145
|
-
|
|
2146
|
-
<th>名称</th>
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
<th>类型</th>
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
<th style="min-width: 100px;">默认值</th>
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
<th class="last">描述</th>
|
|
2156
|
-
</tr>
|
|
2157
|
-
</thead>
|
|
2158
|
-
|
|
2159
|
-
<tbody>
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
<tr class="deep-level-0">
|
|
2164
|
-
|
|
2165
|
-
<td class="name"><code>viewer</code></td>
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
<td class="type">
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
<span class="param-type">Object</span>
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
</td>
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
<td class="default">
|
|
2179
|
-
|
|
2180
|
-
</td>
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
<td class="description last"><p>视图对象</p></td>
|
|
2184
|
-
</tr>
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
<tr class="deep-level-0">
|
|
2192
|
-
|
|
2193
|
-
<td class="name"><code>options</code></td>
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
<td class="type">
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
<span class="param-type">Object</span>
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
</td>
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
<td class="default">
|
|
2207
|
-
|
|
2208
|
-
</td>
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
<td class="description last"><p>附加参数</p></td>
|
|
2212
|
-
</tr>
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
<tr class="deep-level-1">
|
|
2218
|
-
|
|
2219
|
-
<td class="name"><code>queryUrl</code></td>
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
<td class="type">
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
<span class="param-type">String</span>
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
</td>
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
<td class="default">
|
|
2233
|
-
|
|
2234
|
-
null
|
|
2235
|
-
|
|
2236
|
-
</td>
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
<td class="description last"><p>用于查询的url</p></td>
|
|
2240
|
-
</tr>
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
<tr class="deep-level-1">
|
|
2246
|
-
|
|
2247
|
-
<td class="name"><code>successCallback</code></td>
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
<td class="type">
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
<span class="param-type">function</span>
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
</td>
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
<td class="default">
|
|
2261
|
-
|
|
2262
|
-
null
|
|
2263
|
-
|
|
2264
|
-
</td>
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
<td class="description last"><p>成功回调函数</p></td>
|
|
2268
|
-
</tr>
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
<tr class="deep-level-1">
|
|
2274
|
-
|
|
2275
|
-
<td class="name"><code>errorCallback</code></td>
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
<td class="type">
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
<span class="param-type">function</span>
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
</td>
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
<td class="default">
|
|
2289
|
-
|
|
2290
|
-
null
|
|
2291
|
-
|
|
2292
|
-
</td>
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
<td class="description last"><p>错误回调函数</p></td>
|
|
2296
|
-
</tr>
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
<tr class="deep-level-1">
|
|
2302
|
-
|
|
2303
|
-
<td class="name"><code>material</code></td>
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
<td class="type">
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
<span class="param-type">Object</span>
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
</td>
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
<td class="default">
|
|
2317
|
-
|
|
2318
|
-
null
|
|
2319
|
-
|
|
2320
|
-
</td>
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
<td class="description last"><p>材质</p></td>
|
|
2324
|
-
</tr>
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
<tr class="deep-level-1">
|
|
2330
|
-
|
|
2331
|
-
<td class="name"><code>width</code></td>
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
<td class="type">
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
<span class="param-type">Number</span>
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
</td>
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
<td class="default">
|
|
2345
|
-
|
|
2346
|
-
5000
|
|
2347
|
-
|
|
2348
|
-
</td>
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
<td class="description last"><p>显示柱状体或饼状的宽度</p></td>
|
|
2352
|
-
</tr>
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
<tr class="deep-level-1">
|
|
2358
|
-
|
|
2359
|
-
<td class="name"><code>heightScale</code></td>
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
<td class="type">
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
<span class="param-type">Number</span>
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
</td>
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
<td class="default">
|
|
2373
|
-
|
|
2374
|
-
1
|
|
2375
|
-
|
|
2376
|
-
</td>
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
<td class="description last"><p>设置柱状图的高度缩放比例</p></td>
|
|
2380
|
-
</tr>
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
<tr class="deep-level-1">
|
|
2386
|
-
|
|
2387
|
-
<td class="name"><code>addExtrudedHeight</code></td>
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
<td class="type">
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
<span class="param-type">Boolean</span>
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
</td>
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
<td class="default">
|
|
2401
|
-
|
|
2402
|
-
false
|
|
2403
|
-
|
|
2404
|
-
</td>
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
<td class="description last"><p>是否为饼状体添加高度</p></td>
|
|
2408
|
-
</tr>
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
<tr class="deep-level-1">
|
|
2414
|
-
|
|
2415
|
-
<td class="name"><code>addGeoGeometry</code></td>
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
<td class="type">
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
<span class="param-type">Boolean</span>
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
</td>
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
<td class="default">
|
|
2429
|
-
|
|
2430
|
-
false
|
|
2431
|
-
|
|
2432
|
-
</td>
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
<td class="description last"><p>解析GeoJson数据时,是否绘制polygon的Geometry</p></td>
|
|
2436
|
-
</tr>
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
<tr class="deep-level-1">
|
|
2442
|
-
|
|
2443
|
-
<td class="name"><code>attributeName</code></td>
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
<td class="type">
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
<span class="param-type">Array</span>
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
</td>
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
<td class="default">
|
|
2457
|
-
|
|
2458
|
-
[]
|
|
2459
|
-
|
|
2460
|
-
</td>
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
<td class="description last"><p>用于显示的属性名</p></td>
|
|
2464
|
-
</tr>
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
<tr class="deep-level-1">
|
|
2470
|
-
|
|
2471
|
-
<td class="name"><code>attributeColor</code></td>
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
<td class="type">
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
<span class="param-type">Array</span>
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
</td>
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
<td class="default">
|
|
2485
|
-
|
|
2486
|
-
[]
|
|
2487
|
-
|
|
2488
|
-
</td>
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
<td class="description last"><p>各个属性对应的颜色</p></td>
|
|
2492
|
-
</tr>
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
<tr class="deep-level-1">
|
|
2498
|
-
|
|
2499
|
-
<td class="name"><code>textFont</code></td>
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
<td class="type">
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
<span class="param-type">String</span>
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
</td>
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
<td class="default">
|
|
2513
|
-
|
|
2514
|
-
'50px Helvetica'
|
|
2515
|
-
|
|
2516
|
-
</td>
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
<td class="description last"><p>标注字体</p></td>
|
|
2520
|
-
</tr>
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
<tr class="deep-level-1">
|
|
2526
|
-
|
|
2527
|
-
<td class="name"><code>textColor</code></td>
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
<td class="type">
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
<span class="param-type">Cesium.Color</span>
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
</td>
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
<td class="default">
|
|
2541
|
-
|
|
2542
|
-
Cesium.Color.RED
|
|
2543
|
-
|
|
2544
|
-
</td>
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
<td class="description last"><p>标注颜色</p></td>
|
|
2548
|
-
</tr>
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
<tr class="deep-level-1">
|
|
2554
|
-
|
|
2555
|
-
<td class="name"><code>nearFarScalar</code></td>
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
<td class="type">
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
<span class="param-type">Object</span>
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
</td>
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
<td class="default">
|
|
2569
|
-
|
|
2570
|
-
new Cesium.NearFarScalar(0, 1, 5000000, 0)
|
|
2571
|
-
|
|
2572
|
-
</td>
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
<td class="description last"><p>在指定距离内是否可见</p></td>
|
|
2576
|
-
</tr>
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
<tr class="deep-level-1">
|
|
2582
|
-
|
|
2583
|
-
<td class="name"><code>textHeightOffset</code></td>
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
<td class="type">
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
<span class="param-type">Number</span>
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
</td>
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
<td class="default">
|
|
2597
|
-
|
|
2598
|
-
0
|
|
2599
|
-
|
|
2600
|
-
</td>
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
<td class="description last"><p>字体高度的偏移值</p></td>
|
|
2604
|
-
</tr>
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
</tbody>
|
|
2613
|
-
</table>
|
|
2614
|
-
</div>
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
<dl class="details">
|
|
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
|
-
</dl>
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
<h5>示例</h5>
|
|
2678
|
-
|
|
2679
|
-
<p class="code-caption"><h7>统计图</h7></p>
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
<pre class="prettyprint"><code>// 参考示例:
|
|
2683
|
-
http://192.168.82.91:8086/#/modules/cesium/visualization/themeLayer/statistic
|
|
2684
|
-
|
|
2685
|
-
// ES5引入方式
|
|
2686
|
-
const { ThemeManager } = zondy.cesium
|
|
2687
|
-
// ES6引入方式
|
|
2688
|
-
import { ThemeManager } from "@mapgis/webclient-cesium-plugin"
|
|
2689
|
-
|
|
2690
|
-
// 1 初始化一个统计专题图对象
|
|
2691
|
-
const themeManager = new Cesium.ThemeManager(
|
|
2692
|
-
// Cesium场景视图对象
|
|
2693
|
-
viewer,
|
|
2694
|
-
// 额外初始化参数
|
|
2695
|
-
{}
|
|
2696
|
-
)
|
|
2697
|
-
|
|
2698
|
-
// 2 添加水平柱状专题图
|
|
2699
|
-
// 设置用于显示的属性名
|
|
2700
|
-
themeManager.attributeName = ['GDP_2007', 'GDP_2008']
|
|
2701
|
-
// 设置各个属性对应的颜色
|
|
2702
|
-
themeManager.attributeColor = [
|
|
2703
|
-
new Cesium.Color(234 / 255, 175 / 255, 200 / 255),
|
|
2704
|
-
new Cesium.Color(56 / 255, 239 / 255, 125 / 255)
|
|
2705
|
-
]
|
|
2706
|
-
// 设置文本颜色
|
|
2707
|
-
themeManager.textColor = Cesium.Color.GREEN
|
|
2708
|
-
// 设置文本高度
|
|
2709
|
-
themeManager.textHeightOffset = 10000
|
|
2710
|
-
// 设置柱状图宽度
|
|
2711
|
-
themeManager.width = 50000
|
|
2712
|
-
// 添加专题图数据
|
|
2713
|
-
themeManager.addByGeoJson(
|
|
2714
|
-
// GeoJSON数据
|
|
2715
|
-
{},
|
|
2716
|
-
// 统计图类型
|
|
2717
|
-
'HorizontalColumn'
|
|
2718
|
-
)
|
|
2719
|
-
|
|
2720
|
-
// 3 添加垂直柱状专题图
|
|
2721
|
-
// 解析GeoJson数据时,是否绘制polygon的Geometry
|
|
2722
|
-
themeManager.addGeoGeometry = false
|
|
2723
|
-
// 设置用于显示的属性名
|
|
2724
|
-
themeManager.attributeName = ['GDP_2007', 'GDP_2008']
|
|
2725
|
-
// 设置各个属性对应的颜色
|
|
2726
|
-
themeManager.attributeColor = [
|
|
2727
|
-
new Cesium.Color(234 / 255, 175 / 255, 200 / 255),
|
|
2728
|
-
new Cesium.Color(56 / 255, 239 / 255, 125 / 255)
|
|
2729
|
-
]
|
|
2730
|
-
// 设置柱状图宽度
|
|
2731
|
-
themeManager.width = 50000
|
|
2732
|
-
// 添加专题图数据
|
|
2733
|
-
themeManager.addByGeoJson(
|
|
2734
|
-
// GeoJSON数据
|
|
2735
|
-
{},
|
|
2736
|
-
// 统计图类型
|
|
2737
|
-
'VerticalColumn'
|
|
2738
|
-
)
|
|
2739
|
-
|
|
2740
|
-
// 4 添加饼状不带高程专题图
|
|
2741
|
-
// 解析GeoJson数据时,是否绘制polygon的Geometry
|
|
2742
|
-
themeManager.addGeoGeometry = false
|
|
2743
|
-
// 是否为饼状体添加高度
|
|
2744
|
-
themeManager.addExtrudedHeight = false
|
|
2745
|
-
// 设置用于显示的属性名
|
|
2746
|
-
themeManager.attributeName = ['GDP_2007', 'GDP_2008']
|
|
2747
|
-
// 设置各个属性对应的颜色
|
|
2748
|
-
themeManager.attributeColor = [
|
|
2749
|
-
new Cesium.Color(109 / 255, 213 / 255, 250 / 255),
|
|
2750
|
-
new Cesium.Color(245 / 255, 175 / 255, 25 / 255)
|
|
2751
|
-
]
|
|
2752
|
-
// 设置柱状图宽度
|
|
2753
|
-
themeManager.width = 50000
|
|
2754
|
-
// 添加专题图数据
|
|
2755
|
-
themeManager.addByGeoJson(
|
|
2756
|
-
// GeoJSON数据
|
|
2757
|
-
{},
|
|
2758
|
-
// 统计图类型
|
|
2759
|
-
'Pie'
|
|
2760
|
-
)
|
|
2761
|
-
|
|
2762
|
-
// 5 添加饼状不带高程专题图
|
|
2763
|
-
// 解析GeoJson数据时,是否绘制polygon的Geometry
|
|
2764
|
-
themeManager.addGeoGeometry = false
|
|
2765
|
-
// 是否为饼状体添加高度
|
|
2766
|
-
themeManager.addExtrudedHeight = true
|
|
2767
|
-
// 设置用于显示的属性名
|
|
2768
|
-
themeManager.attributeName = ['GDP_2007', 'GDP_2008']
|
|
2769
|
-
// 设置各个属性对应的颜色
|
|
2770
|
-
themeManager.attributeColor = [
|
|
2771
|
-
new Cesium.Color(109 / 255, 213 / 255, 250 / 255),
|
|
2772
|
-
new Cesium.Color(245 / 255, 175 / 255, 25 / 255)
|
|
2773
|
-
]
|
|
2774
|
-
// 设置柱状图宽度
|
|
2775
|
-
themeManager.width = 50000
|
|
2776
|
-
// 添加专题图数据
|
|
2777
|
-
themeManager.addByGeoJson(
|
|
2778
|
-
// GeoJSON数据
|
|
2779
|
-
{},
|
|
2780
|
-
// 统计图类型
|
|
2781
|
-
'Pie'
|
|
2782
|
-
)</code></pre>
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
</div>
|
|
2788
|
-
</div>
|
|
2789
|
-
</div>
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
</div>
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
<div class='vertical-section'>
|
|
2810
|
-
<h3 id='function'>方法</h3>
|
|
2811
|
-
<div class="members">
|
|
2812
|
-
|
|
2813
|
-
<div class="member">
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
<h4 class="name" id=".create">
|
|
2818
|
-
<a class="href-link" href="#.create">#</a>
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
<span class='tag'>static</span>
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
<span class="code-name" style="font-size:30px">
|
|
2825
|
-
|
|
2826
|
-
create<span class="signature">(viewer<span class="signature-attributes">opt</span>, boundingbox<span class="signature-attributes">opt</span>, options<span class="signature-attributes">opt</span>)</span>
|
|
2827
|
-
|
|
2828
|
-
</span>
|
|
2829
|
-
</h4>
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
<div class="description">
|
|
2834
|
-
<p>创建并返回一个热力图对象</p>
|
|
2835
|
-
</div>
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
<h4>参数:</h4>
|
|
2847
|
-
|
|
2848
|
-
<div class="table-container">
|
|
2849
|
-
<table class="params table">
|
|
2850
|
-
<thead>
|
|
2851
|
-
<tr>
|
|
2852
|
-
|
|
2853
|
-
<th>名称</th>
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
<th>类型</th>
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
<th style="min-width: 100px;">默认值</th>
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
<th class="last">描述</th>
|
|
2863
|
-
</tr>
|
|
2864
|
-
</thead>
|
|
2865
|
-
|
|
2866
|
-
<tbody>
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
<tr class="deep-level-0">
|
|
2871
|
-
|
|
2872
|
-
<td class="name"><code>viewer</code></td>
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
<td class="type">
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
<span class="param-type"><a class="mapgis-link-name" title="Cesium.Viewer" Cesium.Viewer.html>Cesium.Viewer</a></span>
|
|
562
|
+
<span class="param-type"><a href="Cesium.Viewer.html">Cesium.Viewer</a></span>
|
|
2879
563
|
|
|
2880
564
|
|
|
2881
565
|
|
|
@@ -2889,7 +573,7 @@ themeManager.addByGeoJson(
|
|
|
2889
573
|
</td>
|
|
2890
574
|
|
|
2891
575
|
|
|
2892
|
-
<td class="description last"><p
|
|
576
|
+
<td class="description last"><p>场景视图对象,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html' target='_blank'>详见Cesium.Viewer</a></p></td>
|
|
2893
577
|
</tr>
|
|
2894
578
|
|
|
2895
579
|
|
|
@@ -2919,7 +603,7 @@ themeManager.addByGeoJson(
|
|
|
2919
603
|
</td>
|
|
2920
604
|
|
|
2921
605
|
|
|
2922
|
-
<td class="description last"><p
|
|
606
|
+
<td class="description last"><p>热力图范围,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html?classFilter=Rectangle' target='_blank'>详见Cesium.Rectangle</a></p></td>
|
|
2923
607
|
</tr>
|
|
2924
608
|
|
|
2925
609
|
|
|
@@ -3416,7 +1100,7 @@ themeManager.addByGeoJson(
|
|
|
3416
1100
|
|
|
3417
1101
|
<footer class="footer">
|
|
3418
1102
|
<div class="content has-text-centered">
|
|
3419
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc
|
|
1103
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
3420
1104
|
<p class="sidebar-created-by">
|
|
3421
1105
|
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
3422
1106
|
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|