@mapgis/webclient-cesium-plugin 17.2.7 → 17.4.0
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 +592 -568
- package/dist/es5/webclient-cesium-plugin.min.js +64 -5
- package/dist/es5/webclient-common.min.js +5 -5
- package/dist/webclient-cesium-plugin-es6.min.js +64 -5
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_067_cleaning.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_094_vector_path_square.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_095_vector_path_circle.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_096_vector_path_polygon.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_097_vector_path_line.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_242_google_maps.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/images/river3.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/images/sandydrysoil-albedo2b.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/images/wall-texture-default.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/textures/arrow3.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/textures/waterNormals.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/textures/waterNormalsSmall.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/thirdparty/crunch_s3m.wasm +0 -0
- package/dist/webclient-cesium-plugin-resource/thirdparty/draco_decoder_new_s3m.wasm +0 -0
- package/documention/AlgorithmLib.html +114 -12
- package/documention/AngulationTool.html +154 -16
- package/documention/AnimationTool.html +144 -34
- package/documention/ArcGISMapServerImageryProvider.html +415 -193
- package/documention/ArcGISTileServerImageryProvider.html +376 -134
- package/documention/ArcGISVectorTileImageryProvider.html +494 -168
- package/documention/Cesium.Material.html +576 -0
- package/documention/Cesium.Viewer.html +1060 -0
- package/documention/Cesium3DTileset.html +687 -0
- package/documention/CesiumHeatmap.html +119 -2439
- package/documention/CesiumTerrainProvider.html +318 -10
- package/documention/CircleWaveMaterialProperty.html +116 -17
- package/documention/CollisionDetectionByRender.html +112 -10
- package/documention/CompatibleFunc.html +727 -0
- package/documention/CustomProjection.html +1204 -0
- package/documention/CustomTilingScheme.html +388 -475
- package/documention/CutFillAnalysis.html +1939 -0
- package/documention/CuttingTool.html +150 -238
- package/documention/Deferred.html +112 -10
- package/documention/DrawElement.html +121 -10
- package/documention/DrawTool.html +113 -11
- package/documention/DynamicEntityVisualizer.html +338 -30
- package/documention/DynamicLabelLayer.html +447 -333
- package/documention/EditTool.html +113 -11
- package/documention/FloodAnalysis.html +1891 -0
- package/documention/FloodAnalysisReflection.html +123 -15
- package/documention/GeoJSONLayerUtil.html +333 -63
- package/documention/GlobeIndependentTranslucency.html +117 -13
- package/documention/Graphic.html +229 -585
- package/documention/GraphicsLayer.html +203 -212
- package/documention/GraphicsLayerUtil.html +333 -63
- package/documention/HashMap.html +4006 -317
- package/documention/HeightLimited.html +123 -15
- package/documention/IGSFeatureLayerUtil.html +491 -58
- package/documention/ISSceneLayerUtil.html +111 -9
- package/documention/KeyboardCameraController.html +114 -10
- package/documention/MapGISM3DSet.html +724 -0
- package/documention/MapGISMapServerImageryProvider.html +471 -648
- package/documention/MapGISTerrainProvider.html +1224 -8281
- package/documention/MapGISTileAvailability.html +1542 -0
- package/documention/MapGISTileServerImageryProvider.html +415 -660
- package/documention/MapGISVectorTileImageryProvider.html +404 -1283
- package/documention/MeasureAreaTool.html +173 -62
- package/documention/MeasureLengthTool.html +175 -64
- package/documention/MeasureSlopeTool.html +125 -15
- package/documention/ModelEditor.html +128 -21
- package/documention/ModelFilterTool.html +209 -23
- package/documention/ModelTransformTool.html +187 -38
- package/documention/PolylineTrailLinkMaterialProperty.html +116 -17
- package/documention/Popup.html +347 -266
- package/documention/PostProcessStageLibrary.html +114 -12
- package/documention/Promise.html +115 -13
- package/documention/RadarMaterialProperty.html +116 -17
- package/documention/ReImg.html +129 -9
- package/documention/RiverGeometry.html +122 -20
- package/documention/RoamParticle.html +115 -9
- package/documention/S3MTileset.html +132 -10
- package/documention/SceneView.html +1747 -0
- package/documention/SceneViewCesium.html +447 -1028
- package/documention/Screenshot.html +333 -134
- package/documention/SelectTool.html +112 -38
- package/documention/ShadowRateAnalysis.html +113 -18
- package/documention/ShadowRateDrawCommand.html +111 -9
- package/documention/SketchEditorCesium.html +365 -249
- package/documention/SkyLineAnalysis.html +9 -9
- package/documention/StableParticle.html +115 -9
- package/documention/Style.html +150 -533
- package/documention/TerrainAnalyse.html +261 -40
- package/documention/TerrainProfile.html +124 -16
- package/documention/ThemeManager.html +2233 -0
- package/documention/Tooltip.html +111 -9
- package/documention/TriangulationTool.html +172 -61
- package/documention/UrlTemplateImageryProvider.html +852 -38
- package/documention/VisiblityAnalysis.html +128 -24
- package/documention/WFSLayerUtil.html +333 -63
- package/documention/WaterReflection.html +128 -20
- package/documention/WebMapServiceImageryProvider.html +920 -70
- package/documention/WebMapTileServiceImageryProvider.html +839 -78
- package/documention/Wind3D.html +118 -11
- package/documention/createColorTexture.html +604 -0
- package/documention/global.html +14321 -68
- package/documention/index.html +163 -14
- package/documention/initializeOptions.html +557 -0
- package/documention/isCounterClockwise.html +756 -0
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +335 -86
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +357 -218
- package/documention/module.exports_module.exports.html +334 -44
- package/documention/scripts/search.js +1 -26
- package/documention/styles/app.min.css +1 -1
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +152 -7
- package/package.json +6 -5
|
@@ -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="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,7 @@ 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 class="mapgis-link-name" title="MapGISMapServerImageryProvider" MapGISMapServerImageryProvider.html>MapGISMapServerImageryProvider</a><span style="display: none;"><p>MapGIS地图服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISTerrainProvider" MapGISTerrainProvider.html>MapGISTerrainProvider</a><span style="display: none;">undefined</span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISTileServerImageryProvider" MapGISTileServerImageryProvider.html>MapGISTileServerImageryProvider</a><span style="display: none;"><p>MapGIS瓦片服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISVectorTileImageryProvider" MapGISVectorTileImageryProvider.html>MapGISVectorTileImageryProvider</a><span style="display: none;"><p>MapGIS矢量瓦片服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ModelFilterTool" ModelFilterTool.html>ModelFilterTool</a><span style="display: none;"><p>模型空间过滤工具</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="PostProcessStageLibrary" PostProcessStageLibrary.html>PostProcessStageLibrary</a><span style="display: none;"><p>用于创建后处理特效的扩展库</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="S3MTileset" S3MTileset.html>S3MTileset</a><span style="display: none;"><p>S3MTileSet类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="UrlTemplateImageryProvider" UrlTemplateImageryProvider.html>UrlTemplateImageryProvider</a><span style="display: none;"><p>UrlTemplateImageryProvider对象,详细API参考Cesium的UrlTemplateImageryProvider的API文档</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WaterReflection" WaterReflection.html>WaterReflection</a><span style="display: none;"><p>创建反射水面的实例化对象</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WebMapServiceImageryProvider" WebMapServiceImageryProvider.html>WebMapServiceImageryProvider</a><span style="display: none;"><p>WMS地图图层,具体API请参考Cesium的WebMapServiceImageryProvider</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WebMapTileServiceImageryProvider" WebMapTileServiceImageryProvider.html>WebMapTileServiceImageryProvider</a><span style="display: none;"><p>WMTS地图图层,具体API请参考Cesium的WebMapTileServiceImageryProvider</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><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GeoJSONLayerUtil" GeoJSONLayerUtil.html>GeoJSONLayerUtil</a><span style="display: none;"><p>GeoJSON图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GraphicsLayerUtil" GraphicsLayerUtil.html>GraphicsLayerUtil</a><span style="display: none;"><p>几何图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="IGSFeatureLayerUtil" IGSFeatureLayerUtil.html>IGSFeatureLayerUtil</a><span style="display: none;"><p>IGSFeature图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WFSLayerUtil" 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><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ISSceneLayerUtil" ISSceneLayerUtil.html>ISSceneLayerUtil</a><span style="display: none;"><p>IS场景图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Popup" Popup.html>Popup</a><span style="display: none;"><p>场景信息弹窗(cesium引擎)
|
|
263
|
+
</ul></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="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
264
|
参考示例:
|
|
163
265
|
<a href='#SceneView'>[初始化三维场景视图]</a>
|
|
164
266
|
<br>[ES5引入方式]:<br/>
|
|
@@ -170,7 +272,7 @@ zondy-popup__content 弹窗容器样式<br/>
|
|
|
170
272
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
171
273
|
zondy-popup__header 弹窗头部样式<br/>
|
|
172
274
|
zondy-popup__content 弹窗主体样式<br/>
|
|
173
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a
|
|
275
|
+
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>视图类</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="SketchEditorCesium"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditorCesium.html">SketchEditorCesium</a><span style="display: none;"><p>Cesium引擎草图编辑类<br/>
|
|
174
276
|
<br>[ES5引入方式]:<br/>
|
|
175
277
|
const { SketchEditor } = zondy.tool.sketch <br/>
|
|
176
278
|
[ES6引入方式]:<br/>
|
|
@@ -215,7 +317,11 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
215
317
|
|
|
216
318
|
|
|
217
319
|
<div class="description">
|
|
218
|
-
<p
|
|
320
|
+
<p>标绘图层<br>
|
|
321
|
+
请参考以下示例:<br>
|
|
322
|
+
<a href='#example1'>1、初始化标绘图层</a><br>
|
|
323
|
+
<a href='#example2'>2、重写提示框对象</a><br>
|
|
324
|
+
<a href='http://webclient.smaryun.com/#/example-gallery/cesium#tdGraphBase' target='_blank'>3、更多示例</a></p>
|
|
219
325
|
</div>
|
|
220
326
|
|
|
221
327
|
|
|
@@ -259,7 +365,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
259
365
|
<td class="type">
|
|
260
366
|
|
|
261
367
|
|
|
262
|
-
<span class="param-type">Viewer</span>
|
|
368
|
+
<span class="param-type"><a href="Cesium.Viewer.html">Cesium.Viewer</a></span>
|
|
263
369
|
|
|
264
370
|
|
|
265
371
|
|
|
@@ -271,7 +377,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
271
377
|
</td>
|
|
272
378
|
|
|
273
379
|
|
|
274
|
-
<td class="description last"></td>
|
|
380
|
+
<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>
|
|
275
381
|
</tr>
|
|
276
382
|
|
|
277
383
|
|
|
@@ -299,7 +405,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
299
405
|
</td>
|
|
300
406
|
|
|
301
407
|
|
|
302
|
-
<td class="description last"></td>
|
|
408
|
+
<td class="description last"><p>图层初始化参数</p></td>
|
|
303
409
|
</tr>
|
|
304
410
|
|
|
305
411
|
|
|
@@ -322,7 +428,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
322
428
|
|
|
323
429
|
<td class="default">
|
|
324
430
|
|
|
325
|
-
|
|
431
|
+
null
|
|
326
432
|
|
|
327
433
|
</td>
|
|
328
434
|
|
|
@@ -350,7 +456,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
350
456
|
|
|
351
457
|
<td class="default">
|
|
352
458
|
|
|
353
|
-
|
|
459
|
+
null
|
|
354
460
|
|
|
355
461
|
</td>
|
|
356
462
|
|
|
@@ -378,7 +484,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
378
484
|
|
|
379
485
|
<td class="default">
|
|
380
486
|
|
|
381
|
-
|
|
487
|
+
null
|
|
382
488
|
|
|
383
489
|
</td>
|
|
384
490
|
|
|
@@ -406,7 +512,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
406
512
|
|
|
407
513
|
<td class="default">
|
|
408
514
|
|
|
409
|
-
|
|
515
|
+
null
|
|
410
516
|
|
|
411
517
|
</td>
|
|
412
518
|
|
|
@@ -620,15 +726,47 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
620
726
|
|
|
621
727
|
|
|
622
728
|
|
|
729
|
+
|
|
730
|
+
<p class="summary"><h5>支持如下方法:</h5>
|
|
731
|
+
<a href='#startDrawing'>[1、开始绘制图形]</a><br/>
|
|
732
|
+
<a href='#addGraphic'>[2、添加绘制图形]</a><br/>
|
|
733
|
+
<a href='#addGraphic'>[3、添加绘制图形]</a><br/>
|
|
734
|
+
<a href='#stopDrawing'>[4、移除所有鼠标事件,停止绘制]</a><br/>
|
|
735
|
+
<a href='#startEdit'>[5、开始编辑]</a><br/>
|
|
736
|
+
<a href='#stopEdit'>[6、停止编辑]</a><br/>
|
|
737
|
+
<a href='#getGraphicByID'>[7、根据ID获取标绘图形对象]</a><br/>
|
|
738
|
+
<a href='#getGraphicByName'>[8、根据name获取标绘图形对象]</a><br/>
|
|
739
|
+
<a href='#getGraphicByGroupName'>[9、根据GroupName获取标绘图形对象]</a><br/>
|
|
740
|
+
<a href='#getGraphicByIndex'>[10、根据序号获取标绘图形对象]</a><br/>
|
|
741
|
+
<a href='#getIndexByGraphic'>[11、根据对象获取index]</a><br/>
|
|
742
|
+
<a href='#getAllGraphic'>[12、获取图层所有标绘图形]</a><br/>
|
|
743
|
+
<a href='#getTransformEditor'>[13、获取标绘模型编辑器]</a><br/>
|
|
744
|
+
<a href='#removeGraphicByID'>[14、根据ID移除标绘图形]</a><br/>
|
|
745
|
+
<a href='#removeGraphicByGroupName'>[15、根据GroupName移除一组标绘图形]</a><br/>
|
|
746
|
+
<a href='#removeGraphicByIndex'>[16、根据序号移除标绘图形]</a><br/>
|
|
747
|
+
<a href='#removeLastGraphic'>[17、移除最后一个标绘图形]</a><br/>
|
|
748
|
+
<a href='#removePickingGraphic'>[18、移除选中标绘图形]</a><br/>
|
|
749
|
+
<a href='#removeAllGraphic'>[19、移除是否成功]</a><br/>
|
|
750
|
+
<a href='#exportToJson'>[20、整个图层导出为json文件]</a><br/>
|
|
751
|
+
<a href='#calculateBoundingSphere'>[21、计算当前标绘图层的外包围球]</a><br/>
|
|
752
|
+
<a href='#flyTo'>[22、跳转到该图层]</a><br/>
|
|
753
|
+
<a href='#loadJson'>[23、加载json文件]</a><br/>
|
|
754
|
+
<a href='#destroy'>[24、移除整个图层]</a><br/></p>
|
|
623
755
|
|
|
624
756
|
|
|
625
757
|
|
|
626
758
|
<h5>示例</h5>
|
|
627
759
|
|
|
760
|
+
<p class="code-caption"><h7 id='example1'>初始化标绘图层</h7></p>
|
|
761
|
+
|
|
628
762
|
|
|
629
|
-
<pre class="prettyprint"><code
|
|
763
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
764
|
+
const { GraphicsLayer } = zondy.cesium
|
|
765
|
+
// ES6引入方式
|
|
766
|
+
import { GraphicsLayer } from "@mapgis/webclient-cesium-plugin"
|
|
767
|
+
|
|
630
768
|
//初始化标绘图层
|
|
631
|
-
|
|
769
|
+
const graphicsLayer = new GraphicsLayer(viewer, {
|
|
632
770
|
//添加标绘对象成功后的回调函数
|
|
633
771
|
getGraphic: function(e) {},
|
|
634
772
|
//撤销添加模型的回调函数
|
|
@@ -651,10 +789,18 @@ var graphicsLayer = new Cesium.GraphicsLayer(viewer, {
|
|
|
651
789
|
enableToolTip: true
|
|
652
790
|
});
|
|
653
791
|
//添加标绘图层到图层管理器中
|
|
654
|
-
viewer.scene.layers.appendGraphicsLayer(graphicsLayer)
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
792
|
+
viewer.scene.layers.appendGraphicsLayer(graphicsLayer);</code></pre>
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
<p class="code-caption"><h7 id='example2'>重写提示框对象</h7></p>
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
799
|
+
const { GraphicsLayer } = zondy.cesium
|
|
800
|
+
// ES6引入方式
|
|
801
|
+
import { GraphicsLayer } from "@mapgis/webclient-cesium-plugin"
|
|
802
|
+
|
|
803
|
+
const graphicsLayer = new GraphicsLayer(viewer, {
|
|
658
804
|
//重写鼠标移动提示事件,当toolTipDom存在时,只有两个回调参数
|
|
659
805
|
mouseMoveShowAt: function(position, tipDom){
|
|
660
806
|
//你的提示事件
|
|
@@ -694,7 +840,7 @@ var graphicsLayer = new Cesium.GraphicsLayer(viewer, {
|
|
|
694
840
|
<span class="method-parameter is-pulled-right">
|
|
695
841
|
<label>类型:</label>
|
|
696
842
|
|
|
697
|
-
<span class="param-type"><a
|
|
843
|
+
<span class="param-type"><a href="EditTool.html">EditTool</a></span>
|
|
698
844
|
|
|
699
845
|
|
|
700
846
|
</span>
|
|
@@ -768,7 +914,7 @@ var graphicsLayer = new Cesium.GraphicsLayer(viewer, {
|
|
|
768
914
|
<span class="method-parameter is-pulled-right">
|
|
769
915
|
<label>类型:</label>
|
|
770
916
|
|
|
771
|
-
<span class="param-type"><a
|
|
917
|
+
<span class="param-type"><a href="HashMap.html">HashMap</a></span>
|
|
772
918
|
|
|
773
919
|
|
|
774
920
|
</span>
|
|
@@ -863,7 +1009,7 @@ var graphicsLayer = new Cesium.GraphicsLayer(viewer, {
|
|
|
863
1009
|
|
|
864
1010
|
|
|
865
1011
|
<div class="description">
|
|
866
|
-
<p
|
|
1012
|
+
<p>添加绘制图形<a id='addGraphic'/></p>
|
|
867
1013
|
</div>
|
|
868
1014
|
|
|
869
1015
|
|
|
@@ -913,7 +1059,7 @@ var graphicsLayer = new Cesium.GraphicsLayer(viewer, {
|
|
|
913
1059
|
|
|
914
1060
|
|
|
915
1061
|
|
|
916
|
-
<td class="description last"><p>不同类型实体参考:参见<a
|
|
1062
|
+
<td class="description last"><p>不同类型实体参考:参见<a href="Graphic.html#.graphicType"><code>Graphic.graphicType</code></a></p></td>
|
|
917
1063
|
</tr>
|
|
918
1064
|
|
|
919
1065
|
|
|
@@ -1011,13 +1157,13 @@ var graphicsLayer = new Cesium.GraphicsLayer(viewer, {
|
|
|
1011
1157
|
|
|
1012
1158
|
<div class="columns">
|
|
1013
1159
|
|
|
1014
|
-
<div class='param-desc column is-7'><p
|
|
1160
|
+
<div class='param-desc column is-7'><p>反回添加的图形</p></div>
|
|
1015
1161
|
|
|
1016
1162
|
|
|
1017
1163
|
<div class='column is-5 has-text-left'>
|
|
1018
1164
|
<label>类型: </label>
|
|
1019
1165
|
|
|
1020
|
-
<span class="param-type"><a
|
|
1166
|
+
<span class="param-type"><a href="Graphic.html">Graphic</a></span>
|
|
1021
1167
|
|
|
1022
1168
|
|
|
1023
1169
|
</div>
|
|
@@ -1030,161 +1176,6 @@ var graphicsLayer = new Cesium.GraphicsLayer(viewer, {
|
|
|
1030
1176
|
|
|
1031
1177
|
|
|
1032
1178
|
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
<h5>示例</h5>
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
<pre class="prettyprint"><code>var graphicsLayer = new Cesium.GraphicsLayer(viewer);
|
|
1040
|
-
var graphic = new Cesium.Graphic(type: 'label',style: {color: viewModel.color,text: 'hezihan',font: '50px Helvetica',pixelSize: 20,
|
|
1041
|
-
pixelOffsetScaleByDistance: false,
|
|
1042
|
-
horizontalOrigin: Cesium.HorizontalOrigin.right,
|
|
1043
|
-
fillColor: '#818518',
|
|
1044
|
-
isScaleByDistance: true, //是否远近缩放
|
|
1045
|
-
distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000)},
|
|
1046
|
-
name: 'box1',attributes: { key: 'www', map: 4645 },getGraphic: getGraphic);
|
|
1047
|
-
graphicsLayer.addGraphic(graphic);</code></pre>
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
</div>
|
|
1052
|
-
|
|
1053
|
-
<div class="member">
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
<h4 class="name" id="addModel">
|
|
1058
|
-
<a class="href-link" href="#addModel">#</a>
|
|
1059
|
-
|
|
1060
|
-
<span class="code-name" style="font-size:30px">
|
|
1061
|
-
|
|
1062
|
-
addModel<span class="signature">(options)</span>
|
|
1063
|
-
|
|
1064
|
-
</span>
|
|
1065
|
-
</h4>
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
<div class="description">
|
|
1070
|
-
<p>添加模型</p>
|
|
1071
|
-
</div>
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
<h4>参数:</h4>
|
|
1083
|
-
|
|
1084
|
-
<div class="table-container">
|
|
1085
|
-
<table class="params table">
|
|
1086
|
-
<thead>
|
|
1087
|
-
<tr>
|
|
1088
|
-
|
|
1089
|
-
<th>名称</th>
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
<th>类型</th>
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
<th class="last">描述</th>
|
|
1097
|
-
</tr>
|
|
1098
|
-
</thead>
|
|
1099
|
-
|
|
1100
|
-
<tbody>
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
<tr class="deep-level-0">
|
|
1105
|
-
|
|
1106
|
-
<td class="name"><code>options</code></td>
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
<td class="type">
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
<span class="param-type">Object</span>
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
</td>
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
<td class="description last"></td>
|
|
1121
|
-
</tr>
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
</tbody>
|
|
1127
|
-
</table>
|
|
1128
|
-
</div>
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
<dl class="details">
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
</dl>
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
1179
|
|
|
1189
1180
|
|
|
1190
1181
|
|
|
@@ -1207,7 +1198,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
1207
1198
|
|
|
1208
1199
|
|
|
1209
1200
|
<div class="description">
|
|
1210
|
-
<p
|
|
1201
|
+
<p>计算当前标绘图层的外包围球<a id='calculateBoundingSphere'/></p>
|
|
1211
1202
|
</div>
|
|
1212
1203
|
|
|
1213
1204
|
|
|
@@ -1323,7 +1314,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
1323
1314
|
|
|
1324
1315
|
|
|
1325
1316
|
<div class="description">
|
|
1326
|
-
<p
|
|
1317
|
+
<p>移除整个图层<a id='destroy'/></p>
|
|
1327
1318
|
</div>
|
|
1328
1319
|
|
|
1329
1320
|
|
|
@@ -1414,7 +1405,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
1414
1405
|
|
|
1415
1406
|
|
|
1416
1407
|
<div class="description">
|
|
1417
|
-
<p>整个图层导出为json
|
|
1408
|
+
<p>整个图层导出为json文件<a id='exportToJson'/></p>
|
|
1418
1409
|
</div>
|
|
1419
1410
|
|
|
1420
1411
|
|
|
@@ -1530,7 +1521,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
1530
1521
|
|
|
1531
1522
|
|
|
1532
1523
|
<div class="description">
|
|
1533
|
-
<p
|
|
1524
|
+
<p>跳转到该图层<a id='flyTo'/></p>
|
|
1534
1525
|
</div>
|
|
1535
1526
|
|
|
1536
1527
|
|
|
@@ -1670,7 +1661,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
1670
1661
|
|
|
1671
1662
|
|
|
1672
1663
|
<div class="description">
|
|
1673
|
-
<p
|
|
1664
|
+
<p>获取图层所有标绘图形<a id='getAllGraphic'/></p>
|
|
1674
1665
|
</div>
|
|
1675
1666
|
|
|
1676
1667
|
|
|
@@ -1786,7 +1777,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
1786
1777
|
|
|
1787
1778
|
|
|
1788
1779
|
<div class="description">
|
|
1789
|
-
<p>根据GroupName
|
|
1780
|
+
<p>根据GroupName获取标绘图形对象<a id='getGraphicByGroupName'/></p>
|
|
1790
1781
|
</div>
|
|
1791
1782
|
|
|
1792
1783
|
|
|
@@ -1946,7 +1937,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
1946
1937
|
|
|
1947
1938
|
<span class="code-name" style="font-size:30px">
|
|
1948
1939
|
|
|
1949
|
-
getGraphicByID<span class="signature">(
|
|
1940
|
+
getGraphicByID<span class="signature">(id)</span>
|
|
1950
1941
|
|
|
1951
1942
|
</span>
|
|
1952
1943
|
</h4>
|
|
@@ -1954,7 +1945,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
1954
1945
|
|
|
1955
1946
|
|
|
1956
1947
|
<div class="description">
|
|
1957
|
-
<p>根据ID
|
|
1948
|
+
<p>根据ID获取标绘图形对象<a id='getGraphicByID'/></p>
|
|
1958
1949
|
</div>
|
|
1959
1950
|
|
|
1960
1951
|
|
|
@@ -1990,7 +1981,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
1990
1981
|
|
|
1991
1982
|
<tr class="deep-level-0">
|
|
1992
1983
|
|
|
1993
|
-
<td class="name"><code>
|
|
1984
|
+
<td class="name"><code>id</code></td>
|
|
1994
1985
|
|
|
1995
1986
|
|
|
1996
1987
|
<td class="type">
|
|
@@ -2122,7 +2113,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
2122
2113
|
|
|
2123
2114
|
|
|
2124
2115
|
<div class="description">
|
|
2125
|
-
<p
|
|
2116
|
+
<p>根据序号获取标绘图形对象<a id='getGraphicByIndex'/></p>
|
|
2126
2117
|
</div>
|
|
2127
2118
|
|
|
2128
2119
|
|
|
@@ -2287,7 +2278,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
2287
2278
|
|
|
2288
2279
|
|
|
2289
2280
|
<div class="description">
|
|
2290
|
-
<p>根据name
|
|
2281
|
+
<p>根据name获取标绘图形对象<a id='getGraphicByName'/></p>
|
|
2291
2282
|
</div>
|
|
2292
2283
|
|
|
2293
2284
|
|
|
@@ -2479,7 +2470,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
2479
2470
|
|
|
2480
2471
|
|
|
2481
2472
|
<div class="description">
|
|
2482
|
-
<p>根据对象获取index
|
|
2473
|
+
<p>根据对象获取index<a id='getIndexByGraphic'/></p>
|
|
2483
2474
|
</div>
|
|
2484
2475
|
|
|
2485
2476
|
|
|
@@ -2593,7 +2584,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
2593
2584
|
|
|
2594
2585
|
|
|
2595
2586
|
<div class="description">
|
|
2596
|
-
<p
|
|
2587
|
+
<p>获取标绘模型编辑器<a id='getTransformEditor'/></p>
|
|
2597
2588
|
</div>
|
|
2598
2589
|
|
|
2599
2590
|
|
|
@@ -2774,7 +2765,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
2774
2765
|
|
|
2775
2766
|
|
|
2776
2767
|
<div class="description">
|
|
2777
|
-
<p>加载json
|
|
2768
|
+
<p>加载json文件<a id='loadJson'/></p>
|
|
2778
2769
|
</div>
|
|
2779
2770
|
|
|
2780
2771
|
|
|
@@ -2914,7 +2905,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
2914
2905
|
|
|
2915
2906
|
|
|
2916
2907
|
<div class="description">
|
|
2917
|
-
<p
|
|
2908
|
+
<p>移除图层所有标绘图形<a id='removeAllGraphic'/></p>
|
|
2918
2909
|
</div>
|
|
2919
2910
|
|
|
2920
2911
|
|
|
@@ -3030,7 +3021,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
3030
3021
|
|
|
3031
3022
|
|
|
3032
3023
|
<div class="description">
|
|
3033
|
-
<p>根据GroupName
|
|
3024
|
+
<p>根据GroupName移除一组标绘图形<a id='removeGraphicByGroupName'/></p>
|
|
3034
3025
|
</div>
|
|
3035
3026
|
|
|
3036
3027
|
|
|
@@ -3170,7 +3161,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
3170
3161
|
|
|
3171
3162
|
|
|
3172
3163
|
<div class="description">
|
|
3173
|
-
<p>根据ID
|
|
3164
|
+
<p>根据ID移除标绘图形<a id='removeGraphicByID'/></p>
|
|
3174
3165
|
</div>
|
|
3175
3166
|
|
|
3176
3167
|
|
|
@@ -3334,7 +3325,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
3334
3325
|
|
|
3335
3326
|
|
|
3336
3327
|
<div class="description">
|
|
3337
|
-
<p
|
|
3328
|
+
<p>根据序号移除标绘图形<a id='removeGraphicByIndex'/></p>
|
|
3338
3329
|
</div>
|
|
3339
3330
|
|
|
3340
3331
|
|
|
@@ -3474,7 +3465,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
3474
3465
|
|
|
3475
3466
|
|
|
3476
3467
|
<div class="description">
|
|
3477
|
-
<p
|
|
3468
|
+
<p>移除最后一个标绘图形<a id='removeLastGraphic'/></p>
|
|
3478
3469
|
</div>
|
|
3479
3470
|
|
|
3480
3471
|
|
|
@@ -3565,7 +3556,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
3565
3556
|
|
|
3566
3557
|
|
|
3567
3558
|
<div class="description">
|
|
3568
|
-
<p
|
|
3559
|
+
<p>移除选中标绘图形<a id='removePickingGraphic'/></p>
|
|
3569
3560
|
</div>
|
|
3570
3561
|
|
|
3571
3562
|
|
|
@@ -3656,7 +3647,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
3656
3647
|
|
|
3657
3648
|
|
|
3658
3649
|
<div class="description">
|
|
3659
|
-
<p>开始绘制图形 (注意:内部会开始地形深度检测功能)
|
|
3650
|
+
<p>开始绘制图形 (注意:内部会开始地形深度检测功能)<a id='startDrawing'/></p>
|
|
3660
3651
|
</div>
|
|
3661
3652
|
|
|
3662
3653
|
|
|
@@ -3740,7 +3731,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
3740
3731
|
</td>
|
|
3741
3732
|
|
|
3742
3733
|
|
|
3743
|
-
<td class="description last"><p>绘制类型:参照<a
|
|
3734
|
+
<td class="description last"><p>绘制类型:参照<a href="Graphic.html#.graphicType"><code>Graphic.graphicType</code></a></p></td>
|
|
3744
3735
|
</tr>
|
|
3745
3736
|
|
|
3746
3737
|
|
|
@@ -3822,7 +3813,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
3822
3813
|
</td>
|
|
3823
3814
|
|
|
3824
3815
|
|
|
3825
|
-
<td class="description last"><p>图元样式信息 详情参见<a
|
|
3816
|
+
<td class="description last"><p>图元样式信息 详情参见<a href="Style.html"><code>Style</code></a></p></td>
|
|
3826
3817
|
</tr>
|
|
3827
3818
|
|
|
3828
3819
|
|
|
@@ -3848,7 +3839,7 @@ graphicsLayer.addGraphic(graphic);</code></pre>
|
|
|
3848
3839
|
</td>
|
|
3849
3840
|
|
|
3850
3841
|
|
|
3851
|
-
<td class="description last"><p>编辑点样式信息 详情参见<a
|
|
3842
|
+
<td class="description last"><p>编辑点样式信息 详情参见<a href="Style.html#.EditPointStyle"><code>Style.EditPointStyle</code></a></p></td>
|
|
3852
3843
|
</tr>
|
|
3853
3844
|
|
|
3854
3845
|
|
|
@@ -4234,7 +4225,7 @@ graphicsLayer.startDrawing({
|
|
|
4234
4225
|
//html字符串或标签对象
|
|
4235
4226
|
html: "你的html",
|
|
4236
4227
|
//html相对原始位置的屏幕像素偏移
|
|
4237
|
-
pixelOffset: new Cesium.
|
|
4228
|
+
pixelOffset: new Cesium.Cartesian2(0, 0),
|
|
4238
4229
|
//额外抬升高度
|
|
4239
4230
|
offsetHeight: 0
|
|
4240
4231
|
},
|
|
@@ -4265,7 +4256,7 @@ graphicsLayer.startDrawing({
|
|
|
4265
4256
|
|
|
4266
4257
|
|
|
4267
4258
|
<div class="description">
|
|
4268
|
-
<p
|
|
4259
|
+
<p>开始编辑<a id='startEdit'/></p>
|
|
4269
4260
|
</div>
|
|
4270
4261
|
|
|
4271
4262
|
|
|
@@ -4356,7 +4347,7 @@ graphicsLayer.startDrawing({
|
|
|
4356
4347
|
|
|
4357
4348
|
|
|
4358
4349
|
<div class="description">
|
|
4359
|
-
<p
|
|
4350
|
+
<p>移除所有鼠标事件,停止绘制<a id='stopDrawing'/></p>
|
|
4360
4351
|
</div>
|
|
4361
4352
|
|
|
4362
4353
|
|
|
@@ -4447,7 +4438,7 @@ graphicsLayer.startDrawing({
|
|
|
4447
4438
|
|
|
4448
4439
|
|
|
4449
4440
|
<div class="description">
|
|
4450
|
-
<p
|
|
4441
|
+
<p>停止编辑<a id='stopEdit'/></p>
|
|
4451
4442
|
</div>
|
|
4452
4443
|
|
|
4453
4444
|
|
|
@@ -4539,7 +4530,7 @@ graphicsLayer.startDrawing({
|
|
|
4539
4530
|
|
|
4540
4531
|
<footer class="footer">
|
|
4541
4532
|
<div class="content has-text-centered">
|
|
4542
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc
|
|
4533
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
4543
4534
|
<p class="sidebar-created-by">
|
|
4544
4535
|
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
4545
4536
|
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|