@mapgis/webclient-cesium-plugin 17.4.0 → 17.4.8

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.
Files changed (107) hide show
  1. package/README.md +76 -1
  2. package/dist/es5/webclient-cesium-plugin.min.js +9 -9
  3. package/dist/es5/webclient-common.min.js +37 -5
  4. package/dist/webclient-cesium-plugin-es6.min.js +9 -9
  5. package/documention/AlgorithmLib.html +8 -4
  6. package/documention/AngulationTool.html +8 -4
  7. package/documention/AnimationTool.html +8 -4
  8. package/documention/ArcGISMapServerImageryProvider.html +8 -4
  9. package/documention/ArcGISTileServerImageryProvider.html +8 -4
  10. package/documention/ArcGISVectorTileImageryProvider.html +8 -4
  11. package/documention/Cesium.Material.html +8 -4
  12. package/documention/Cesium.Viewer.html +185 -4
  13. package/documention/Cesium3DTileset.html +8 -4
  14. package/documention/CesiumHeatmap.html +8 -4
  15. package/documention/CesiumNavigation.html +511 -0
  16. package/documention/CesiumTerrainProvider.html +8 -4
  17. package/documention/CircleWaveMaterialProperty.html +8 -4
  18. package/documention/CollisionDetectionByRender.html +8 -4
  19. package/documention/CompatibleFunc.html +8 -4
  20. package/documention/CustomProjection.html +8 -4
  21. package/documention/CustomTilingScheme.html +8 -4
  22. package/documention/CutFillAnalysis.html +8 -4
  23. package/documention/CuttingTool.html +155 -18
  24. package/documention/Deferred.html +8 -4
  25. package/documention/DrawElement.html +18 -14
  26. package/documention/DrawTool.html +10 -6
  27. package/documention/DynamicEntityVisualizer.html +8 -4
  28. package/documention/DynamicLabelLayer.html +333 -447
  29. package/documention/EditTool.html +8 -4
  30. package/documention/FloodAnalysis.html +8 -4
  31. package/documention/FloodAnalysisReflection.html +8 -4
  32. package/documention/GeoJSONLayerUtil.html +8 -4
  33. package/documention/GlobeIndependentTranslucency.html +8 -4
  34. package/documention/Graphic.html +8 -4
  35. package/documention/GraphicTransformTool.html +1207 -0
  36. package/documention/GraphicsLayer.html +9 -5
  37. package/documention/GraphicsLayerUtil.html +8 -4
  38. package/documention/GroundPrimitiveLayer.html +1645 -0
  39. package/documention/HashMap.html +8 -4
  40. package/documention/HeightLimited.html +8 -4
  41. package/documention/IGSFeatureLayerUtil.html +171 -4
  42. package/documention/ISSceneLayerUtil.html +222 -4
  43. package/documention/KeyboardCameraController.html +8 -4
  44. package/documention/MapGISDynamicLabelCollection.html +1696 -0
  45. package/documention/MapGISFeatureGridCollection.html +1579 -0
  46. package/documention/MapGISImageServerImageryProvider.html +2388 -0
  47. package/documention/MapGISM3DSet.html +8 -4
  48. package/documention/MapGISMapServerImageProvider.html +2523 -0
  49. package/documention/MapGISMapServerImageryProvider.html +9 -5
  50. package/documention/MapGISTerrainProvider.html +8 -4
  51. package/documention/MapGISTileAvailability.html +10 -6
  52. package/documention/MapGISTileServerImageProvider.html +2033 -0
  53. package/documention/MapGISTileServerImageryProvider.html +8 -4
  54. package/documention/MapGISVectorTileImageryProvider.html +8 -4
  55. package/documention/MeasureAreaTool.html +8 -4
  56. package/documention/MeasureLengthTool.html +8 -4
  57. package/documention/MeasureSlopeTool.html +8 -4
  58. package/documention/ModelEditor.html +8 -4
  59. package/documention/ModelFilterTool.html +8 -4
  60. package/documention/ModelTransformTool.html +12 -8
  61. package/documention/NavigationControl.html +512 -0
  62. package/documention/NavigationTool.html +694 -0
  63. package/documention/OpenWeatherImageryProvider.html +766 -0
  64. package/documention/PolylineTrailLinkMaterialProperty.html +8 -4
  65. package/documention/Popup.html +9 -5
  66. package/documention/PostProcessStageLibrary.html +8 -4
  67. package/documention/Promise.html +8 -4
  68. package/documention/ProviderBaseUrlRegExp.html +735 -0
  69. package/documention/RadarMaterialProperty.html +8 -4
  70. package/documention/ReImg.html +8 -4
  71. package/documention/ResetViewNavigationControl.html +975 -0
  72. package/documention/RiverGeometry.html +8 -4
  73. package/documention/RoamParticle.html +8 -4
  74. package/documention/S3MTileset.html +8 -4
  75. package/documention/SceneView.html +3274 -6
  76. package/documention/SceneViewCesium.html +1028 -447
  77. package/documention/Screenshot.html +8 -4
  78. package/documention/SelectTool.html +8 -4
  79. package/documention/ShadowRateAnalysis.html +8 -4
  80. package/documention/ShadowRateDrawCommand.html +8 -4
  81. package/documention/SketchEditor.html +1774 -0
  82. package/documention/SketchEditorCesium.html +249 -365
  83. package/documention/StableParticle.html +8 -4
  84. package/documention/Style.html +8 -4
  85. package/documention/TerrainAnalyse.html +11 -7
  86. package/documention/TerrainProfile.html +8 -4
  87. package/documention/ThemeManager.html +9 -5
  88. package/documention/Tooltip.html +8 -4
  89. package/documention/TriangulationTool.html +8 -4
  90. package/documention/UrlTemplateImageryProvider.html +8 -4
  91. package/documention/UserInterfaceControl.html +1187 -0
  92. package/documention/VisiblityAnalysis.html +9 -5
  93. package/documention/WFSLayerUtil.html +8 -4
  94. package/documention/WaterReflection.html +8 -4
  95. package/documention/WebMapServiceImageryProvider.html +8 -4
  96. package/documention/WebMapTileServiceImageryProvider.html +8 -4
  97. package/documention/Wind3D.html +8 -4
  98. package/documention/ZoomNavigationControl.html +861 -0
  99. package/documention/createColorTexture.html +8 -4
  100. package/documention/global.html +80 -218
  101. package/documention/index.html +8 -4
  102. package/documention/initializeOptions.html +8 -4
  103. package/documention/isCounterClockwise.html +8 -4
  104. package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +8 -4
  105. package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +8 -4
  106. package/documention/module.exports_module.exports.html +8 -4
  107. package/package.json +1 -1
@@ -226,7 +226,7 @@ viewer.scene.globe.translucency依然能够使用,但两者同时使用时会
226
226
  请参考以下示例:<br>
227
227
  <a href='#example1'>1、初始化标绘图层</a><br>
228
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>
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>
230
230
  <p>1. 相机平移操作,这类操作不会改变相机的朝向,只会改变相机的位置:</p>
231
231
  <ul>
232
232
  <li><code>W</code>:相机位置向前移动</li>
@@ -260,7 +260,9 @@ viewer.scene.globe.translucency依然能够使用,但两者同时使用时会
260
260
  <ul>
261
261
  <li><code>Shift</code>:加速相机平移操作,调整移动步长为原来的两倍</li>
262
262
  <li><code>R</code>:重置视角到初始视角,仅在参数<code>initView</code>定义时有效</li>
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引擎)
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="MapGISFeatureGridCollection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISFeatureGridCollection.html">MapGISFeatureGridCollection</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引擎)
264
266
  参考示例:
265
267
  <a href='#SceneView'>[初始化三维场景视图]</a>
266
268
  <br>[ES5引入方式]:<br/>
@@ -268,11 +270,13 @@ zondy.cesium.SceneView() <br/>
268
270
  [ES6引入方式]:<br/>
269
271
  import { SceneView } from '@mapgis/webclient-cesium-plugin' <br/>
270
272
  自定义样式说明:<br/>
271
- zondy-popup__content 弹窗容器样式<br/>
273
+ zondy-popup__container 弹窗容器样式<br/>
272
274
  zondy-popup__tip 弹窗对话框箭头样式<br/>
273
275
  zondy-popup__header 弹窗头部样式<br/>
274
276
  zondy-popup__content 弹窗主体样式<br/>
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/>
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/>
276
280
  <br>[ES5引入方式]:<br/>
277
281
  const { SketchEditor } = zondy.tool.sketch <br/>
278
282
  [ES6引入方式]:<br/>
@@ -317,7 +321,8 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
317
321
 
318
322
 
319
323
  <div class="description">
320
- <p>视图类</p>
324
+ <p>场景视图类<br/>
325
+ 继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SceneView.html' target='_blank'>zondy.SceneView</a></p>
321
326
  </div>
322
327
 
323
328
 
@@ -814,7 +819,7 @@ const sceneView = new SceneView({
814
819
 
815
820
 
816
821
  <ul>
817
- <li>Evented</li>
822
+ <li>zondy.SceneView</li>
818
823
  </ul>
819
824
 
820
825
 
@@ -1700,6 +1705,3269 @@ const sceneView = new SceneView({
1700
1705
 
1701
1706
 
1702
1707
 
1708
+ <div class='vertical-section'>
1709
+ <h3 id='function'>方法</h3>
1710
+ <div class="members">
1711
+
1712
+ <div class="member">
1713
+
1714
+
1715
+
1716
+ <h4 class="name" id=".fromJSON">
1717
+ <a class="href-link" href="#.fromJSON">#</a>
1718
+
1719
+
1720
+ <span class='tag'>static</span>
1721
+
1722
+
1723
+ <span class="code-name" style="font-size:30px">
1724
+
1725
+ fromJSON<span class="signature">(json)</span>
1726
+
1727
+ </span>
1728
+ </h4>
1729
+
1730
+
1731
+
1732
+ <div class="description">
1733
+ <p><a id='fromJSON'></a>
1734
+ 通过一个配置生成一个场景视图对象</p>
1735
+ </div>
1736
+
1737
+
1738
+
1739
+
1740
+
1741
+
1742
+
1743
+
1744
+
1745
+
1746
+ <h4>参数:</h4>
1747
+
1748
+ <div class="table-container">
1749
+ <table class="params table">
1750
+ <thead>
1751
+ <tr>
1752
+
1753
+ <th>名称</th>
1754
+
1755
+
1756
+ <th>类型</th>
1757
+
1758
+
1759
+
1760
+ <th class="last">描述</th>
1761
+ </tr>
1762
+ </thead>
1763
+
1764
+ <tbody>
1765
+
1766
+
1767
+
1768
+ <tr class="deep-level-0">
1769
+
1770
+ <td class="name"><code>json</code></td>
1771
+
1772
+
1773
+ <td class="type">
1774
+
1775
+
1776
+ <span class="param-type">Object</span>
1777
+
1778
+
1779
+
1780
+ </td>
1781
+
1782
+
1783
+
1784
+ <td class="description last"><p>场景视图配置</p></td>
1785
+ </tr>
1786
+
1787
+
1788
+
1789
+
1790
+ </tbody>
1791
+ </table>
1792
+ </div>
1793
+
1794
+
1795
+
1796
+
1797
+
1798
+
1799
+ <dl class="details">
1800
+
1801
+
1802
+
1803
+
1804
+
1805
+
1806
+
1807
+
1808
+
1809
+
1810
+
1811
+
1812
+
1813
+
1814
+
1815
+
1816
+
1817
+
1818
+
1819
+
1820
+
1821
+
1822
+
1823
+
1824
+
1825
+
1826
+
1827
+
1828
+
1829
+
1830
+
1831
+ </dl>
1832
+
1833
+
1834
+
1835
+
1836
+
1837
+
1838
+
1839
+
1840
+
1841
+
1842
+
1843
+
1844
+
1845
+
1846
+
1847
+
1848
+
1849
+
1850
+ <div class='columns method-parameter'>
1851
+ <div class="column is-2"><label>返回值:</label></div>
1852
+ <div class="column is-10">
1853
+
1854
+
1855
+
1856
+ <div class="columns">
1857
+
1858
+
1859
+ <div class='column is-5 has-text-left'>
1860
+ <label>类型: </label>
1861
+
1862
+ <span class="param-type"><a href="SceneView.html">SceneView</a></span>
1863
+
1864
+
1865
+ </div>
1866
+
1867
+ </div>
1868
+
1869
+
1870
+ </div>
1871
+ </div>
1872
+
1873
+
1874
+
1875
+
1876
+
1877
+
1878
+ </div>
1879
+
1880
+ <div class="member">
1881
+
1882
+
1883
+
1884
+ <h4 class="name" id="_getInnerSublayer">
1885
+ <a class="href-link" href="#_getInnerSublayer">#</a>
1886
+
1887
+ <span class="code-name" style="font-size:30px">
1888
+
1889
+ _getInnerSublayer<span class="signature">(layerView, sublayerDef)</span>
1890
+
1891
+ </span>
1892
+ </h4>
1893
+
1894
+
1895
+
1896
+ <div class="description">
1897
+ <p>获取innerSublayer</p>
1898
+ </div>
1899
+
1900
+
1901
+
1902
+
1903
+
1904
+
1905
+
1906
+
1907
+
1908
+
1909
+ <h4>参数:</h4>
1910
+
1911
+ <div class="table-container">
1912
+ <table class="params table">
1913
+ <thead>
1914
+ <tr>
1915
+
1916
+ <th>名称</th>
1917
+
1918
+
1919
+ <th>类型</th>
1920
+
1921
+
1922
+
1923
+ <th class="last">描述</th>
1924
+ </tr>
1925
+ </thead>
1926
+
1927
+ <tbody>
1928
+
1929
+
1930
+
1931
+ <tr class="deep-level-0">
1932
+
1933
+ <td class="name"><code>layerView</code></td>
1934
+
1935
+
1936
+ <td class="type">
1937
+
1938
+
1939
+ <span class="param-type">LayerView</span>
1940
+
1941
+
1942
+
1943
+ </td>
1944
+
1945
+
1946
+
1947
+ <td class="description last"></td>
1948
+ </tr>
1949
+
1950
+
1951
+
1952
+
1953
+
1954
+
1955
+ <tr class="deep-level-0">
1956
+
1957
+ <td class="name"><code>sublayerDef</code></td>
1958
+
1959
+
1960
+ <td class="type">
1961
+
1962
+
1963
+ <span class="param-type">SubLayer</span>
1964
+ |
1965
+
1966
+ <span class="param-type">String</span>
1967
+ |
1968
+
1969
+ <span class="param-type">null</span>
1970
+
1971
+
1972
+
1973
+ </td>
1974
+
1975
+
1976
+
1977
+ <td class="description last"></td>
1978
+ </tr>
1979
+
1980
+
1981
+
1982
+
1983
+ </tbody>
1984
+ </table>
1985
+ </div>
1986
+
1987
+
1988
+
1989
+
1990
+
1991
+
1992
+ <dl class="details">
1993
+
1994
+
1995
+
1996
+
1997
+
1998
+
1999
+
2000
+
2001
+
2002
+
2003
+
2004
+
2005
+
2006
+
2007
+
2008
+
2009
+
2010
+
2011
+
2012
+
2013
+
2014
+
2015
+
2016
+
2017
+
2018
+
2019
+
2020
+
2021
+
2022
+
2023
+
2024
+ </dl>
2025
+
2026
+
2027
+
2028
+
2029
+
2030
+
2031
+
2032
+
2033
+
2034
+
2035
+
2036
+
2037
+
2038
+
2039
+
2040
+
2041
+
2042
+
2043
+ <div class='columns method-parameter'>
2044
+ <div class="column is-2"><label>返回值:</label></div>
2045
+ <div class="column is-10">
2046
+
2047
+
2048
+
2049
+ <div class="columns">
2050
+
2051
+
2052
+ <div class='column is-5 has-text-left'>
2053
+ <label>类型: </label>
2054
+
2055
+ <span class="param-type">Object</span>
2056
+ |
2057
+
2058
+ <span class="param-type">null</span>
2059
+
2060
+
2061
+ </div>
2062
+
2063
+ </div>
2064
+
2065
+
2066
+ </div>
2067
+ </div>
2068
+
2069
+
2070
+
2071
+
2072
+
2073
+
2074
+ </div>
2075
+
2076
+ <div class="member">
2077
+
2078
+
2079
+
2080
+ <h4 class="name" id="flyTo">
2081
+ <a class="href-link" href="#flyTo">#</a>
2082
+
2083
+ <span class="code-name" style="font-size:30px">
2084
+
2085
+ flyTo<span class="signature">(options)</span>
2086
+
2087
+ </span>
2088
+ </h4>
2089
+
2090
+
2091
+
2092
+ <div class="description">
2093
+ <p>视点跳转</p>
2094
+ </div>
2095
+
2096
+
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+
2103
+
2104
+
2105
+ <h4>参数:</h4>
2106
+
2107
+ <div class="table-container">
2108
+ <table class="params table">
2109
+ <thead>
2110
+ <tr>
2111
+
2112
+ <th>名称</th>
2113
+
2114
+
2115
+ <th>类型</th>
2116
+
2117
+
2118
+ <th style="min-width: 100px;">默认值</th>
2119
+
2120
+
2121
+ <th class="last">描述</th>
2122
+ </tr>
2123
+ </thead>
2124
+
2125
+ <tbody>
2126
+
2127
+
2128
+
2129
+ <tr class="deep-level-0">
2130
+
2131
+ <td class="name"><code>options</code></td>
2132
+
2133
+
2134
+ <td class="type">
2135
+
2136
+ </td>
2137
+
2138
+
2139
+ <td class="default">
2140
+
2141
+ </td>
2142
+
2143
+
2144
+ <td class="description last"><p>跳转参数</p></td>
2145
+ </tr>
2146
+
2147
+
2148
+
2149
+
2150
+ <tr class="deep-level-1">
2151
+
2152
+ <td class="name"><code>center</code></td>
2153
+
2154
+
2155
+ <td class="type">
2156
+
2157
+
2158
+ <span class="param-type">Array</span>
2159
+
2160
+
2161
+
2162
+ </td>
2163
+
2164
+
2165
+ <td class="default">
2166
+
2167
+ </td>
2168
+
2169
+
2170
+ <td class="description last"><p>相机要跳转的中心点,单位度,[精度,纬度,高程]</p></td>
2171
+ </tr>
2172
+
2173
+
2174
+
2175
+
2176
+ <tr class="deep-level-1">
2177
+
2178
+ <td class="name"><code>duration</code></td>
2179
+
2180
+
2181
+ <td class="type">
2182
+
2183
+
2184
+ <span class="param-type">Number</span>
2185
+
2186
+
2187
+
2188
+ </td>
2189
+
2190
+
2191
+ <td class="default">
2192
+
2193
+ 2
2194
+
2195
+ </td>
2196
+
2197
+
2198
+ <td class="description last"><p>相机飞行到终点时的持续时间,单位秒</p></td>
2199
+ </tr>
2200
+
2201
+
2202
+
2203
+
2204
+ <tr class="deep-level-1">
2205
+
2206
+ <td class="name"><code>extent</code></td>
2207
+
2208
+
2209
+ <td class="type">
2210
+
2211
+
2212
+ <span class="param-type">Extent</span>
2213
+
2214
+
2215
+
2216
+ </td>
2217
+
2218
+
2219
+ <td class="default">
2220
+
2221
+ </td>
2222
+
2223
+
2224
+ <td class="description last"><p>相机要飞行的某个范围</p></td>
2225
+ </tr>
2226
+
2227
+
2228
+
2229
+
2230
+ <tr class="deep-level-1">
2231
+
2232
+ <td class="name"><code>orientation</code></td>
2233
+
2234
+
2235
+ <td class="type">
2236
+
2237
+
2238
+ <span class="param-type">Object</span>
2239
+
2240
+
2241
+
2242
+ </td>
2243
+
2244
+
2245
+ <td class="default">
2246
+
2247
+ </td>
2248
+
2249
+
2250
+ <td class="description last"><p>相机飞行到终点时的视角朝向,包含偏航角、俯仰角和翻滚角</p></td>
2251
+ </tr>
2252
+
2253
+
2254
+
2255
+
2256
+ <tr class="deep-level-1">
2257
+
2258
+ <td class="name"><code>complete</code></td>
2259
+
2260
+
2261
+ <td class="type">
2262
+
2263
+
2264
+ <span class="param-type">function</span>
2265
+
2266
+
2267
+
2268
+ </td>
2269
+
2270
+
2271
+ <td class="default">
2272
+
2273
+ </td>
2274
+
2275
+
2276
+ <td class="description last"><p>相机飞行到终点时触发的函数</p></td>
2277
+ </tr>
2278
+
2279
+
2280
+
2281
+
2282
+ <tr class="deep-level-1">
2283
+
2284
+ <td class="name"><code>cancel</code></td>
2285
+
2286
+
2287
+ <td class="type">
2288
+
2289
+
2290
+ <span class="param-type">function</span>
2291
+
2292
+
2293
+
2294
+ </td>
2295
+
2296
+
2297
+ <td class="default">
2298
+
2299
+ </td>
2300
+
2301
+
2302
+ <td class="description last"><p>相机取消飞行时触发的函数</p></td>
2303
+ </tr>
2304
+
2305
+
2306
+
2307
+
2308
+ <tr class="deep-level-1">
2309
+
2310
+ <td class="name"><code>endTransform</code></td>
2311
+
2312
+
2313
+ <td class="type">
2314
+
2315
+
2316
+ <span class="param-type">Object</span>
2317
+
2318
+
2319
+
2320
+ </td>
2321
+
2322
+
2323
+ <td class="default">
2324
+
2325
+ </td>
2326
+
2327
+
2328
+ <td class="description last"><p>相机飞行到终点时的矩阵</p></td>
2329
+ </tr>
2330
+
2331
+
2332
+
2333
+
2334
+ <tr class="deep-level-1">
2335
+
2336
+ <td class="name"><code>maximumHeight</code></td>
2337
+
2338
+
2339
+ <td class="type">
2340
+
2341
+
2342
+ <span class="param-type">Number</span>
2343
+
2344
+
2345
+
2346
+ </td>
2347
+
2348
+
2349
+ <td class="default">
2350
+
2351
+ </td>
2352
+
2353
+
2354
+ <td class="description last"><p>相机飞行的最大高度</p></td>
2355
+ </tr>
2356
+
2357
+
2358
+
2359
+
2360
+ <tr class="deep-level-1">
2361
+
2362
+ <td class="name"><code>pitchAdjustHeight</code></td>
2363
+
2364
+
2365
+ <td class="type">
2366
+
2367
+
2368
+ <span class="param-type">Number</span>
2369
+
2370
+
2371
+
2372
+ </td>
2373
+
2374
+
2375
+ <td class="default">
2376
+
2377
+ </td>
2378
+
2379
+
2380
+ <td class="description last"><p>如果相机的飞行高度高于该值,则调整飞行过程中的俯仰角使相机视角向下看,并将地球保持在相机视窗中</p></td>
2381
+ </tr>
2382
+
2383
+
2384
+
2385
+
2386
+ <tr class="deep-level-1">
2387
+
2388
+ <td class="name"><code>flyOverLongitude</code></td>
2389
+
2390
+
2391
+ <td class="type">
2392
+
2393
+
2394
+ <span class="param-type">Number</span>
2395
+
2396
+
2397
+
2398
+ </td>
2399
+
2400
+
2401
+ <td class="default">
2402
+
2403
+ </td>
2404
+
2405
+
2406
+ <td class="description last"><p>强制让相机绕着地球飞行指定经度,直到到达终点位置</p></td>
2407
+ </tr>
2408
+
2409
+
2410
+
2411
+
2412
+ <tr class="deep-level-1">
2413
+
2414
+ <td class="name"><code>flyOverLongitudeWeight</code></td>
2415
+
2416
+
2417
+ <td class="type">
2418
+
2419
+
2420
+ <span class="param-type">Number</span>
2421
+
2422
+
2423
+
2424
+ </td>
2425
+
2426
+
2427
+ <td class="default">
2428
+
2429
+ </td>
2430
+
2431
+
2432
+ <td class="description last"></td>
2433
+ </tr>
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+
2440
+
2441
+ </tbody>
2442
+ </table>
2443
+ </div>
2444
+
2445
+
2446
+
2447
+
2448
+
2449
+
2450
+ <dl class="details">
2451
+
2452
+
2453
+
2454
+
2455
+
2456
+
2457
+
2458
+
2459
+
2460
+
2461
+
2462
+
2463
+
2464
+
2465
+
2466
+
2467
+
2468
+
2469
+
2470
+
2471
+
2472
+
2473
+
2474
+
2475
+
2476
+
2477
+
2478
+
2479
+
2480
+
2481
+
2482
+ </dl>
2483
+
2484
+
2485
+
2486
+
2487
+
2488
+
2489
+
2490
+
2491
+
2492
+
2493
+
2494
+
2495
+
2496
+
2497
+
2498
+
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+
2505
+
2506
+ <h5>示例</h5>
2507
+
2508
+ <p class="code-caption"><h7>按范围跳转</h7></p>
2509
+
2510
+
2511
+ <pre class="prettyprint"><code>// ES5引入方式
2512
+ const { Map } = zondy
2513
+ const { IGSMapImageLayer } = zondy.layer
2514
+ const { LayerEventType } = zondy.Enum
2515
+ const { Extent } = zondy.geometry
2516
+ const { SceneView } = zondy.cesium
2517
+ // ES6引入方式
2518
+ import { Map, SceneView, IGSMapImageLayer, LayerEventType, Extent } from "@mapgis/webclient-common"
2519
+ import { SceneView} from "@mapgis/webclient-cesium-plugin"
2520
+ // 初始化图层管理容器
2521
+ const map = new Map();
2522
+ // 初始化地图视图对象
2523
+ const sceneView = new SceneView({
2524
+ // 视图id
2525
+ viewId: "mapgis-3d-viewer",
2526
+ // 图层管理容器
2527
+ map: map
2528
+ });
2529
+ // 添加一个地图图层
2530
+ const igsMapImageLayer = new IGSMapImageLayer({
2531
+ url: 'http://192.168.82.89:8089/igs/rest/services/Map/Hubei4326/MapServer'
2532
+ });
2533
+ map.add(igsMapImageLayer);
2534
+ // 图层加载完毕
2535
+ igsMapImageLayer.on(LayerEventType.layerViewCreated, function (result) {
2536
+ console.log("加载完毕:", result.layer)
2537
+ // 视点跳转
2538
+ sceneView.flyTo({
2539
+ extent: new Extent({
2540
+ xmin: 108.34341,
2541
+ ymin: 29.01258222765238,
2542
+ xmax: 116.15093956121316,
2543
+ ymax: 33.29320177370206
2544
+ })
2545
+ })
2546
+ })</code></pre>
2547
+
2548
+
2549
+ <p class="code-caption"><h7>跳转中心点</h7></p>
2550
+
2551
+
2552
+ <pre class="prettyprint"><code>// ES5引入方式
2553
+ const { Map } = zondy
2554
+ const { IGSMapImageLayer } = zondy.layer
2555
+ const { LayerEventType } = zondy.Enum
2556
+ const { SceneView } = zondy.cesium
2557
+ // ES6引入方式
2558
+ import { Map, IGSMapImageLayer, LayerEventType } from "@mapgis/webclient-common"
2559
+ import { SceneView } from "@mapgis/webclient-cesium-plugin"
2560
+ // 初始化图层管理容器
2561
+ const map = new Map();
2562
+ // 初始化地图视图对象
2563
+ const sceneView = new SceneView({
2564
+ // 视图id
2565
+ viewId: "mapgis-3d-viewer",
2566
+ // 图层管理容器
2567
+ map: map
2568
+ });
2569
+ // 添加一个地图图层
2570
+ const igsMapImageLayer = new IGSMapImageLayer({
2571
+ url: 'http://192.168.82.89:8089/igs/rest/services/Map/Hubei4326/MapServer'
2572
+ });
2573
+ map.add(igsMapImageLayer);
2574
+ // 图层加载完毕
2575
+ igsMapImageLayer.on(LayerEventType.layerViewCreated, function (result) {
2576
+ console.log("加载完毕:", result.layer)
2577
+ // 视点跳转
2578
+ sceneView.flyTo({
2579
+ center: [113, 30, 1000000]
2580
+ })
2581
+ })</code></pre>
2582
+
2583
+
2584
+
2585
+ </div>
2586
+
2587
+ <div class="member">
2588
+
2589
+
2590
+
2591
+ <h4 class="name" id="getCenter">
2592
+ <a class="href-link" href="#getCenter">#</a>
2593
+
2594
+ <span class="code-name" style="font-size:30px">
2595
+
2596
+ getCenter<span class="signature">()</span>
2597
+
2598
+ </span>
2599
+ </h4>
2600
+
2601
+
2602
+
2603
+ <div class="description">
2604
+ <p><a id='getCenter'></a>
2605
+ 获取当前视图中心点</p>
2606
+ </div>
2607
+
2608
+
2609
+
2610
+
2611
+
2612
+
2613
+
2614
+
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
+ <div class='columns method-parameter'>
2673
+ <div class="column is-2"><label>返回值:</label></div>
2674
+ <div class="column is-10">
2675
+
2676
+
2677
+
2678
+ <div class="columns">
2679
+
2680
+ <div class='param-desc column is-7'><p>当前视图容器的宽高对象</p></div>
2681
+
2682
+
2683
+ <div class='column is-5 has-text-left'>
2684
+ <label>类型: </label>
2685
+
2686
+ <span class="param-type">Object</span>
2687
+
2688
+
2689
+ </div>
2690
+
2691
+ </div>
2692
+
2693
+
2694
+ </div>
2695
+ </div>
2696
+
2697
+
2698
+
2699
+
2700
+
2701
+
2702
+ </div>
2703
+
2704
+ <div class="member">
2705
+
2706
+
2707
+
2708
+ <h4 class="name" id="getExtent">
2709
+ <a class="href-link" href="#getExtent">#</a>
2710
+
2711
+ <span class="code-name" style="font-size:30px">
2712
+
2713
+ getExtent<span class="signature">()</span>
2714
+
2715
+ </span>
2716
+ </h4>
2717
+
2718
+
2719
+
2720
+ <div class="description">
2721
+ <p><a id='getExtent'></a>
2722
+ 获取当前视图的地理范围<a id='getExtent'></a></p>
2723
+ </div>
2724
+
2725
+
2726
+
2727
+
2728
+
2729
+
2730
+
2731
+
2732
+
2733
+
2734
+
2735
+
2736
+
2737
+
2738
+ <dl class="details">
2739
+
2740
+
2741
+
2742
+
2743
+
2744
+
2745
+
2746
+
2747
+
2748
+
2749
+
2750
+
2751
+
2752
+
2753
+
2754
+
2755
+
2756
+
2757
+
2758
+
2759
+
2760
+
2761
+
2762
+
2763
+
2764
+
2765
+
2766
+
2767
+
2768
+
2769
+
2770
+ </dl>
2771
+
2772
+
2773
+
2774
+
2775
+
2776
+
2777
+
2778
+
2779
+
2780
+
2781
+
2782
+
2783
+
2784
+
2785
+
2786
+
2787
+
2788
+
2789
+ <div class='columns method-parameter'>
2790
+ <div class="column is-2"><label>返回值:</label></div>
2791
+ <div class="column is-10">
2792
+
2793
+
2794
+
2795
+ <div class="columns">
2796
+
2797
+ <div class='param-desc column is-7'><p>获取当前视图的地理范围</p></div>
2798
+
2799
+
2800
+ <div class='column is-5 has-text-left'>
2801
+ <label>类型: </label>
2802
+
2803
+ <span class="param-type">Extent</span>
2804
+
2805
+
2806
+ </div>
2807
+
2808
+ </div>
2809
+
2810
+
2811
+ </div>
2812
+ </div>
2813
+
2814
+
2815
+
2816
+
2817
+
2818
+
2819
+ </div>
2820
+
2821
+ <div class="member">
2822
+
2823
+
2824
+
2825
+ <h4 class="name" id="getScale">
2826
+ <a class="href-link" href="#getScale">#</a>
2827
+
2828
+ <span class="code-name" style="font-size:30px">
2829
+
2830
+ getScale<span class="signature">()</span>
2831
+
2832
+ </span>
2833
+ </h4>
2834
+
2835
+
2836
+
2837
+ <div class="description">
2838
+ <p>获取当前比例尺</p>
2839
+ </div>
2840
+
2841
+
2842
+
2843
+
2844
+
2845
+
2846
+
2847
+
2848
+
2849
+
2850
+
2851
+
2852
+
2853
+
2854
+ <dl class="details">
2855
+
2856
+
2857
+
2858
+
2859
+
2860
+
2861
+
2862
+
2863
+
2864
+
2865
+
2866
+
2867
+
2868
+
2869
+
2870
+
2871
+
2872
+
2873
+
2874
+
2875
+
2876
+
2877
+
2878
+
2879
+
2880
+
2881
+
2882
+
2883
+
2884
+
2885
+
2886
+ </dl>
2887
+
2888
+
2889
+
2890
+
2891
+
2892
+
2893
+
2894
+
2895
+
2896
+
2897
+
2898
+
2899
+
2900
+
2901
+
2902
+
2903
+
2904
+
2905
+ <div class='columns method-parameter'>
2906
+ <div class="column is-2"><label>返回值:</label></div>
2907
+ <div class="column is-10">
2908
+
2909
+
2910
+
2911
+ <div class="columns">
2912
+
2913
+ <div class='param-desc column is-7'><p>比例尺 实际10000米:地图1米</p></div>
2914
+
2915
+
2916
+ <div class='column is-5 has-text-left'>
2917
+ <label>类型: </label>
2918
+
2919
+ <span class="param-type">Number</span>
2920
+
2921
+
2922
+ </div>
2923
+
2924
+ </div>
2925
+
2926
+
2927
+ </div>
2928
+ </div>
2929
+
2930
+
2931
+
2932
+
2933
+
2934
+
2935
+ </div>
2936
+
2937
+ <div class="member">
2938
+
2939
+
2940
+
2941
+ <h4 class="name" id="getSize">
2942
+ <a class="href-link" href="#getSize">#</a>
2943
+
2944
+ <span class="code-name" style="font-size:30px">
2945
+
2946
+ getSize<span class="signature">()</span>
2947
+
2948
+ </span>
2949
+ </h4>
2950
+
2951
+
2952
+
2953
+ <div class="description">
2954
+ <p><a id='getSize'></a>
2955
+ 获取当前视图容器的宽高,单位像素<a id='getSize'></a></p>
2956
+ </div>
2957
+
2958
+
2959
+
2960
+
2961
+
2962
+
2963
+
2964
+
2965
+
2966
+
2967
+
2968
+
2969
+
2970
+
2971
+ <dl class="details">
2972
+
2973
+
2974
+
2975
+
2976
+
2977
+
2978
+
2979
+
2980
+
2981
+
2982
+
2983
+
2984
+
2985
+
2986
+
2987
+
2988
+
2989
+
2990
+
2991
+
2992
+
2993
+
2994
+
2995
+
2996
+
2997
+
2998
+
2999
+
3000
+
3001
+
3002
+
3003
+ </dl>
3004
+
3005
+
3006
+
3007
+
3008
+
3009
+
3010
+
3011
+
3012
+
3013
+
3014
+
3015
+
3016
+
3017
+
3018
+
3019
+
3020
+
3021
+
3022
+ <div class='columns method-parameter'>
3023
+ <div class="column is-2"><label>返回值:</label></div>
3024
+ <div class="column is-10">
3025
+
3026
+
3027
+
3028
+ <div class="columns">
3029
+
3030
+ <div class='param-desc column is-7'><p>当前视图容器的宽高对象</p></div>
3031
+
3032
+
3033
+ <div class='column is-5 has-text-left'>
3034
+ <label>类型: </label>
3035
+
3036
+ <span class="param-type">Object</span>
3037
+
3038
+
3039
+ </div>
3040
+
3041
+ </div>
3042
+
3043
+
3044
+ </div>
3045
+ </div>
3046
+
3047
+
3048
+
3049
+
3050
+
3051
+
3052
+ </div>
3053
+
3054
+ <div class="member">
3055
+
3056
+
3057
+
3058
+ <h4 class="name" id="getZoom">
3059
+ <a class="href-link" href="#getZoom">#</a>
3060
+
3061
+ <span class="code-name" style="font-size:30px">
3062
+
3063
+ getZoom<span class="signature">()</span>
3064
+
3065
+ </span>
3066
+ </h4>
3067
+
3068
+
3069
+
3070
+ <div class="description">
3071
+ <p>获取当前层级</p>
3072
+ </div>
3073
+
3074
+
3075
+
3076
+
3077
+
3078
+
3079
+
3080
+
3081
+
3082
+
3083
+
3084
+
3085
+
3086
+
3087
+ <dl class="details">
3088
+
3089
+
3090
+
3091
+
3092
+
3093
+
3094
+
3095
+
3096
+
3097
+
3098
+
3099
+
3100
+
3101
+
3102
+
3103
+
3104
+
3105
+
3106
+
3107
+
3108
+
3109
+
3110
+
3111
+
3112
+
3113
+
3114
+
3115
+
3116
+
3117
+
3118
+
3119
+ </dl>
3120
+
3121
+
3122
+
3123
+
3124
+
3125
+
3126
+
3127
+
3128
+
3129
+
3130
+
3131
+
3132
+
3133
+
3134
+
3135
+
3136
+
3137
+
3138
+ <div class='columns method-parameter'>
3139
+ <div class="column is-2"><label>返回值:</label></div>
3140
+ <div class="column is-10">
3141
+
3142
+
3143
+
3144
+ <div class="columns">
3145
+
3146
+ <div class='param-desc column is-7'><p>层级</p></div>
3147
+
3148
+
3149
+ <div class='column is-5 has-text-left'>
3150
+ <label>类型: </label>
3151
+
3152
+ <span class="param-type">Number</span>
3153
+
3154
+
3155
+ </div>
3156
+
3157
+ </div>
3158
+
3159
+
3160
+ </div>
3161
+ </div>
3162
+
3163
+
3164
+
3165
+
3166
+
3167
+
3168
+ </div>
3169
+
3170
+ <div class="member">
3171
+
3172
+
3173
+
3174
+ <h4 class="name" id="goTo">
3175
+ <a class="href-link" href="#goTo">#</a>
3176
+
3177
+ <span class="code-name" style="font-size:30px">
3178
+
3179
+ goTo<span class="signature">(goToTarget, options)</span>
3180
+
3181
+ </span>
3182
+ </h4>
3183
+
3184
+
3185
+
3186
+ <div class="description">
3187
+ <p>视点跳转为给定的目标<a id='goTo'></a></p>
3188
+ </div>
3189
+
3190
+
3191
+
3192
+
3193
+
3194
+
3195
+
3196
+
3197
+
3198
+
3199
+ <h4>参数:</h4>
3200
+
3201
+ <div class="table-container">
3202
+ <table class="params table">
3203
+ <thead>
3204
+ <tr>
3205
+
3206
+ <th>名称</th>
3207
+
3208
+
3209
+ <th>类型</th>
3210
+
3211
+
3212
+ <th style="min-width: 100px;">默认值</th>
3213
+
3214
+
3215
+ <th class="last">描述</th>
3216
+ </tr>
3217
+ </thead>
3218
+
3219
+ <tbody>
3220
+
3221
+
3222
+
3223
+ <tr class="deep-level-0">
3224
+
3225
+ <td class="name"><code>goToTarget</code></td>
3226
+
3227
+
3228
+ <td class="type">
3229
+
3230
+ </td>
3231
+
3232
+
3233
+ <td class="default">
3234
+
3235
+ </td>
3236
+
3237
+
3238
+ <td class="description last"><p>跳转参数</p></td>
3239
+ </tr>
3240
+
3241
+
3242
+
3243
+
3244
+ <tr class="deep-level-1">
3245
+
3246
+ <td class="name"><code>center</code></td>
3247
+
3248
+
3249
+ <td class="type">
3250
+
3251
+
3252
+ <span class="param-type">Point</span>
3253
+ |
3254
+
3255
+ <span class="param-type">Array</span>
3256
+
3257
+
3258
+
3259
+ </td>
3260
+
3261
+
3262
+ <td class="default">
3263
+
3264
+ </td>
3265
+
3266
+
3267
+ <td class="description last"><p>视图跳转中心点</p></td>
3268
+ </tr>
3269
+
3270
+
3271
+
3272
+
3273
+ <tr class="deep-level-1">
3274
+
3275
+ <td class="name"><code>zoom</code></td>
3276
+
3277
+
3278
+ <td class="type">
3279
+
3280
+
3281
+ <span class="param-type">Number</span>
3282
+
3283
+
3284
+
3285
+ </td>
3286
+
3287
+
3288
+ <td class="default">
3289
+
3290
+ </td>
3291
+
3292
+
3293
+ <td class="description last"><p>视图跳转层级</p></td>
3294
+ </tr>
3295
+
3296
+
3297
+
3298
+
3299
+ <tr class="deep-level-1">
3300
+
3301
+ <td class="name"><code>scale</code></td>
3302
+
3303
+
3304
+ <td class="type">
3305
+
3306
+
3307
+ <span class="param-type">Number</span>
3308
+
3309
+
3310
+
3311
+ </td>
3312
+
3313
+
3314
+ <td class="default">
3315
+
3316
+ </td>
3317
+
3318
+
3319
+ <td class="description last"><p>视图跳转比例尺</p></td>
3320
+ </tr>
3321
+
3322
+
3323
+
3324
+
3325
+ <tr class="deep-level-1">
3326
+
3327
+ <td class="name"><code>target</code></td>
3328
+
3329
+
3330
+ <td class="type">
3331
+
3332
+
3333
+ <span class="param-type">Geometry</span>
3334
+ |
3335
+
3336
+ <span class="param-type">Array.&lt;Geometry></span>
3337
+ |
3338
+
3339
+ <span class="param-type">Collection.&lt;Geometry></span>
3340
+
3341
+
3342
+
3343
+ </td>
3344
+
3345
+
3346
+ <td class="default">
3347
+
3348
+ </td>
3349
+
3350
+
3351
+ <td class="description last"><p>按范围跳转</p></td>
3352
+ </tr>
3353
+
3354
+
3355
+
3356
+
3357
+
3358
+
3359
+
3360
+
3361
+
3362
+ <tr class="deep-level-0">
3363
+
3364
+ <td class="name"><code>options</code></td>
3365
+
3366
+
3367
+ <td class="type">
3368
+
3369
+ </td>
3370
+
3371
+
3372
+ <td class="default">
3373
+
3374
+ </td>
3375
+
3376
+
3377
+ <td class="description last"><p>动画参数</p></td>
3378
+ </tr>
3379
+
3380
+
3381
+
3382
+
3383
+ <tr class="deep-level-1">
3384
+
3385
+ <td class="name"><code>animate</code></td>
3386
+
3387
+
3388
+ <td class="type">
3389
+
3390
+
3391
+ <span class="param-type">Boolean</span>
3392
+
3393
+
3394
+
3395
+ </td>
3396
+
3397
+
3398
+ <td class="default">
3399
+
3400
+ true
3401
+
3402
+ </td>
3403
+
3404
+
3405
+ <td class="description last"><p>新视图的过渡是否开启动画,默认开启动画</p></td>
3406
+ </tr>
3407
+
3408
+
3409
+
3410
+
3411
+ <tr class="deep-level-1">
3412
+
3413
+ <td class="name"><code>duration</code></td>
3414
+
3415
+
3416
+ <td class="type">
3417
+
3418
+
3419
+ <span class="param-type">Number</span>
3420
+
3421
+
3422
+
3423
+ </td>
3424
+
3425
+
3426
+ <td class="default">
3427
+
3428
+ 200
3429
+
3430
+ </td>
3431
+
3432
+
3433
+ <td class="description last"><p>动画的持续时间,以毫秒为单位,默认200毫秒</p></td>
3434
+ </tr>
3435
+
3436
+
3437
+
3438
+
3439
+
3440
+
3441
+
3442
+ </tbody>
3443
+ </table>
3444
+ </div>
3445
+
3446
+
3447
+
3448
+
3449
+
3450
+
3451
+ <dl class="details">
3452
+
3453
+
3454
+
3455
+
3456
+
3457
+
3458
+
3459
+
3460
+
3461
+
3462
+
3463
+
3464
+
3465
+
3466
+
3467
+
3468
+
3469
+
3470
+
3471
+
3472
+
3473
+
3474
+
3475
+
3476
+
3477
+
3478
+
3479
+
3480
+
3481
+
3482
+
3483
+ </dl>
3484
+
3485
+
3486
+
3487
+
3488
+
3489
+
3490
+
3491
+
3492
+
3493
+
3494
+
3495
+
3496
+
3497
+
3498
+
3499
+
3500
+
3501
+
3502
+
3503
+
3504
+
3505
+
3506
+
3507
+ <h5>示例</h5>
3508
+
3509
+ <p class="code-caption"><h7>中心点跳转示例</h7></p>
3510
+
3511
+
3512
+ <pre class="prettyprint"><code>// ES5引入方式
3513
+ const { Map } = zondy
3514
+ const { SceneView } = zondy.cesium
3515
+ // ES6引入方式
3516
+ import { Map } from "@mapgis/webclient-common"
3517
+ import { SceneView } from "@mapgis/webclient-cesium-plugin"
3518
+ // 初始化图层管理容器
3519
+ map = new .Map();
3520
+ // 初始化地图视图对象
3521
+ sceneView = new SceneView({
3522
+ // 视图id
3523
+ viewId: "view-id",
3524
+ // 图层管理容器
3525
+ map: map
3526
+ });
3527
+ // 视点跳转
3528
+ sceneView.goTo({
3529
+ // 跳转中心点
3530
+ center: [115.47643872463577, 30.980700423496124],
3531
+ // 地图层级
3532
+ zoom: 8
3533
+ });</code></pre>
3534
+
3535
+
3536
+ <p class="code-caption"><h7>按范围跳转示例</h7></p>
3537
+
3538
+
3539
+ <pre class="prettyprint"><code>// ES5引入方式
3540
+ const { Map } = zondy
3541
+ const { Extent, Circle } = zondy.geometry
3542
+ const { SceneView } = zondy.cesium
3543
+ // ES6引入方式
3544
+ import { Map, Extent, Circle } from "@mapgis/webclient-common"
3545
+ import { SceneView } from "@mapgis/webclient-cesium-plugin"
3546
+ // 初始化图层管理容器
3547
+ map = new Map();
3548
+ // 初始化地图视图对象
3549
+ sceneView = new SceneView({
3550
+ // 视图id
3551
+ viewId: "view-id",
3552
+ // 图层管理容器
3553
+ map: map
3554
+ });
3555
+ const extent1 = new Extent({
3556
+ xmin: 111.88463529230717,
3557
+ ymin: 28.646934514163803,
3558
+ xmax: 116.89989408129225,
3559
+ ymax: 33.07991791253288,
3560
+ })
3561
+ const geometry2 = new Circle({
3562
+ center: [111, 29],
3563
+ radius: 100,
3564
+ radiusUnit: "kilometers",
3565
+ })
3566
+ sceneView
3567
+ .goTo({
3568
+ target: [extent1, geometry2],
3569
+ })
3570
+ .then(() => {
3571
+ console.log("gotoExtent callback")
3572
+ })</code></pre>
3573
+
3574
+
3575
+
3576
+ </div>
3577
+
3578
+ <div class="member">
3579
+
3580
+
3581
+
3582
+ <h4 class="name" id="hitTest">
3583
+ <a class="href-link" href="#hitTest">#</a>
3584
+
3585
+ <span class="code-name" style="font-size:30px">
3586
+
3587
+ hitTest<span class="signature">(screenPoint)</span>
3588
+
3589
+ </span>
3590
+ </h4>
3591
+
3592
+
3593
+
3594
+ <div class="description">
3595
+ <p>穿透检测,图元拾取。目前支持graphic类型拾取结果,支持图层类型GraphicLayer,FeatureLayer。</p>
3596
+ </div>
3597
+
3598
+
3599
+
3600
+
3601
+
3602
+
3603
+
3604
+
3605
+
3606
+
3607
+ <h4>参数:</h4>
3608
+
3609
+ <div class="table-container">
3610
+ <table class="params table">
3611
+ <thead>
3612
+ <tr>
3613
+
3614
+ <th>名称</th>
3615
+
3616
+
3617
+ <th>类型</th>
3618
+
3619
+
3620
+
3621
+ <th class="last">描述</th>
3622
+ </tr>
3623
+ </thead>
3624
+
3625
+ <tbody>
3626
+
3627
+
3628
+
3629
+ <tr class="deep-level-0">
3630
+
3631
+ <td class="name"><code>screenPoint</code></td>
3632
+
3633
+
3634
+ <td class="type">
3635
+
3636
+
3637
+ <span class="param-type">Object</span>
3638
+
3639
+
3640
+
3641
+ </td>
3642
+
3643
+
3644
+
3645
+ <td class="description last"><p>屏幕像素坐标点,例如{ x: 900, y: 500 }</p></td>
3646
+ </tr>
3647
+
3648
+
3649
+
3650
+
3651
+ </tbody>
3652
+ </table>
3653
+ </div>
3654
+
3655
+
3656
+
3657
+
3658
+
3659
+
3660
+ <dl class="details">
3661
+
3662
+
3663
+
3664
+
3665
+
3666
+
3667
+
3668
+
3669
+
3670
+
3671
+
3672
+
3673
+
3674
+
3675
+
3676
+
3677
+
3678
+
3679
+
3680
+
3681
+
3682
+
3683
+
3684
+
3685
+
3686
+
3687
+
3688
+
3689
+
3690
+
3691
+
3692
+ </dl>
3693
+
3694
+
3695
+
3696
+
3697
+
3698
+
3699
+
3700
+
3701
+
3702
+
3703
+
3704
+
3705
+
3706
+
3707
+
3708
+
3709
+
3710
+
3711
+ <div class='columns method-parameter'>
3712
+ <div class="column is-2"><label>返回值:</label></div>
3713
+ <div class="column is-10">
3714
+
3715
+
3716
+
3717
+ <div class="columns">
3718
+
3719
+ <div class='param-desc column is-7'><p>图元检测结果</p></div>
3720
+
3721
+
3722
+ <div class='column is-5 has-text-left'>
3723
+ <label>类型: </label>
3724
+
3725
+ <span class="param-type">Array</span>
3726
+
3727
+
3728
+ </div>
3729
+
3730
+ </div>
3731
+
3732
+
3733
+ </div>
3734
+ </div>
3735
+
3736
+
3737
+
3738
+
3739
+
3740
+
3741
+ <h5>示例</h5>
3742
+
3743
+ <p class="code-caption"><h7>根据基础图层对象或者图层id查询并返回实际图层</h7></p>
3744
+
3745
+
3746
+ <pre class="prettyprint"><code>// ES5引入方式
3747
+ const { Map, Feature } = zondy
3748
+ const { Point, Polygon, MultiPolygon ,Extent } = zondy.geometry
3749
+ const { GraphicsLayer, IGSFeatureLayer, IGSTileLayer } = zondy.layer
3750
+ const { SceneView } = zondy.cesium
3751
+ // ES6引入方式
3752
+ import { SceneView } from "@mapgis/webclient-leaflet-plugin";
3753
+ import { Map, Point, Polygon, MultiPolygon ,Extent, GraphicsLayer, Feature, Circle, IGSFeatureLayer, IGSTileLayer } from "@mapgis/webclient-common";
3754
+ // 初始化图层管理容器
3755
+ const map = new Map();
3756
+ // 初始化地图视图对象
3757
+ this.sceneView = new SceneView({
3758
+ // 视图id
3759
+ viewId: "mapgis-3d-viewer",
3760
+ // 图层管理容器
3761
+ map: map,
3762
+ })
3763
+ // 创建一个要素
3764
+ const feature = [
3765
+ new Feature({
3766
+ id: '11111',
3767
+ geometry: new Point({ coordinates: [113, 30] }),
3768
+ }),
3769
+ new Feature({
3770
+ id: '11112',
3771
+ geometry: new Point({ coordinates: [113, 30.15] }),
3772
+ }),
3773
+ new Feature({
3774
+ id: '11112',
3775
+ geometry: new Point({ coordinates: [113, 35] }),
3776
+ }),
3777
+ ]
3778
+ // 初始化几何图层
3779
+ const graphicsLayer = new GraphicsLayer({
3780
+ graphics:feature
3781
+ })
3782
+ map.add(this.graphicsLayer)
3783
+ const result = this.sceneView.hitTest({x:1000,y:600})</code></pre>
3784
+
3785
+
3786
+
3787
+ </div>
3788
+
3789
+ <div class="member">
3790
+
3791
+
3792
+
3793
+ <h4 class="name" id="setCenter">
3794
+ <a class="href-link" href="#setCenter">#</a>
3795
+
3796
+ <span class="code-name" style="font-size:30px">
3797
+
3798
+ setCenter<span class="signature">(value)</span>
3799
+
3800
+ </span>
3801
+ </h4>
3802
+
3803
+
3804
+
3805
+ <div class="description">
3806
+ <p><a id='setCenter'></a>
3807
+ 设置缩视野中心<a id='setCenter'></a></p>
3808
+ </div>
3809
+
3810
+
3811
+
3812
+
3813
+
3814
+
3815
+
3816
+
3817
+
3818
+
3819
+ <h4>参数:</h4>
3820
+
3821
+ <div class="table-container">
3822
+ <table class="params table">
3823
+ <thead>
3824
+ <tr>
3825
+
3826
+ <th>名称</th>
3827
+
3828
+
3829
+ <th>类型</th>
3830
+
3831
+
3832
+
3833
+ <th class="last">描述</th>
3834
+ </tr>
3835
+ </thead>
3836
+
3837
+ <tbody>
3838
+
3839
+
3840
+
3841
+ <tr class="deep-level-0">
3842
+
3843
+ <td class="name"><code>value</code></td>
3844
+
3845
+
3846
+ <td class="type">
3847
+
3848
+
3849
+ <span class="param-type">Point</span>
3850
+
3851
+
3852
+
3853
+ </td>
3854
+
3855
+
3856
+
3857
+ <td class="description last"><p>视图中心</p></td>
3858
+ </tr>
3859
+
3860
+
3861
+
3862
+
3863
+ </tbody>
3864
+ </table>
3865
+ </div>
3866
+
3867
+
3868
+
3869
+
3870
+
3871
+
3872
+ <dl class="details">
3873
+
3874
+
3875
+
3876
+
3877
+
3878
+
3879
+
3880
+
3881
+
3882
+
3883
+
3884
+
3885
+
3886
+
3887
+
3888
+
3889
+
3890
+
3891
+
3892
+
3893
+
3894
+
3895
+
3896
+
3897
+
3898
+
3899
+
3900
+
3901
+
3902
+
3903
+
3904
+ </dl>
3905
+
3906
+
3907
+
3908
+
3909
+
3910
+
3911
+
3912
+
3913
+
3914
+
3915
+
3916
+
3917
+
3918
+
3919
+
3920
+
3921
+
3922
+
3923
+
3924
+
3925
+
3926
+
3927
+
3928
+ </div>
3929
+
3930
+ <div class="member">
3931
+
3932
+
3933
+
3934
+ <h4 class="name" id="setExtent">
3935
+ <a class="href-link" href="#setExtent">#</a>
3936
+
3937
+ <span class="code-name" style="font-size:30px">
3938
+
3939
+ setExtent<span class="signature">(value)</span>
3940
+
3941
+ </span>
3942
+ </h4>
3943
+
3944
+
3945
+
3946
+ <div class="description">
3947
+ <p><a id='setExtent'></a>
3948
+ 设置视图的地理范围,设置后会跳转到该范围</p>
3949
+ </div>
3950
+
3951
+
3952
+
3953
+
3954
+
3955
+
3956
+
3957
+
3958
+
3959
+
3960
+ <h4>参数:</h4>
3961
+
3962
+ <div class="table-container">
3963
+ <table class="params table">
3964
+ <thead>
3965
+ <tr>
3966
+
3967
+ <th>名称</th>
3968
+
3969
+
3970
+ <th>类型</th>
3971
+
3972
+
3973
+
3974
+ <th class="last">描述</th>
3975
+ </tr>
3976
+ </thead>
3977
+
3978
+ <tbody>
3979
+
3980
+
3981
+
3982
+ <tr class="deep-level-0">
3983
+
3984
+ <td class="name"><code>value</code></td>
3985
+
3986
+
3987
+ <td class="type">
3988
+
3989
+
3990
+ <span class="param-type">Extent</span>
3991
+
3992
+
3993
+
3994
+ </td>
3995
+
3996
+
3997
+
3998
+ <td class="description last"><p>视图的地理范围</p></td>
3999
+ </tr>
4000
+
4001
+
4002
+
4003
+
4004
+ </tbody>
4005
+ </table>
4006
+ </div>
4007
+
4008
+
4009
+
4010
+
4011
+
4012
+
4013
+ <dl class="details">
4014
+
4015
+
4016
+
4017
+
4018
+
4019
+
4020
+
4021
+
4022
+
4023
+
4024
+
4025
+
4026
+
4027
+
4028
+
4029
+
4030
+
4031
+
4032
+
4033
+
4034
+
4035
+
4036
+
4037
+
4038
+
4039
+
4040
+
4041
+
4042
+
4043
+
4044
+
4045
+ </dl>
4046
+
4047
+
4048
+
4049
+
4050
+
4051
+
4052
+
4053
+
4054
+
4055
+
4056
+
4057
+
4058
+
4059
+
4060
+
4061
+
4062
+
4063
+
4064
+
4065
+
4066
+
4067
+
4068
+
4069
+ </div>
4070
+
4071
+ <div class="member">
4072
+
4073
+
4074
+
4075
+ <h4 class="name" id="takeScreenshot">
4076
+ <a class="href-link" href="#takeScreenshot">#</a>
4077
+
4078
+ <span class="code-name" style="font-size:30px">
4079
+
4080
+ takeScreenshot<span class="signature">(options<span class="signature-attributes">opt</span>)</span>
4081
+
4082
+ </span>
4083
+ </h4>
4084
+
4085
+
4086
+
4087
+ <div class="description">
4088
+ <p>屏幕快照</p>
4089
+ </div>
4090
+
4091
+
4092
+
4093
+
4094
+
4095
+
4096
+
4097
+
4098
+
4099
+
4100
+ <h4>参数:</h4>
4101
+
4102
+ <div class="table-container">
4103
+ <table class="params table">
4104
+ <thead>
4105
+ <tr>
4106
+
4107
+ <th>名称</th>
4108
+
4109
+
4110
+ <th>类型</th>
4111
+
4112
+
4113
+ <th style="min-width: 100px;">默认值</th>
4114
+
4115
+
4116
+ <th class="last">描述</th>
4117
+ </tr>
4118
+ </thead>
4119
+
4120
+ <tbody>
4121
+
4122
+
4123
+
4124
+ <tr class="deep-level-0">
4125
+
4126
+ <td class="name"><code>options</code></td>
4127
+
4128
+
4129
+ <td class="type">
4130
+
4131
+
4132
+ <span class="param-type">Object</span>
4133
+
4134
+
4135
+
4136
+ </td>
4137
+
4138
+
4139
+ <td class="default">
4140
+
4141
+ {}
4142
+
4143
+ </td>
4144
+
4145
+
4146
+ <td class="description last"><p>屏幕快照配置配置</p></td>
4147
+ </tr>
4148
+
4149
+
4150
+
4151
+
4152
+ <tr class="deep-level-1">
4153
+
4154
+ <td class="name"><code>format</code></td>
4155
+
4156
+
4157
+ <td class="type">
4158
+
4159
+
4160
+ <span class="param-type">PictureFormat</span>
4161
+
4162
+
4163
+
4164
+ </td>
4165
+
4166
+
4167
+ <td class="default">
4168
+
4169
+ PictureFormat.png
4170
+
4171
+ </td>
4172
+
4173
+
4174
+ <td class="description last"><p>图片格式,支持png,jpeg格式</p></td>
4175
+ </tr>
4176
+
4177
+
4178
+
4179
+
4180
+ <tr class="deep-level-1">
4181
+
4182
+ <td class="name"><code>filename</code></td>
4183
+
4184
+
4185
+ <td class="type">
4186
+
4187
+
4188
+ <span class="param-type">String</span>
4189
+
4190
+
4191
+
4192
+ </td>
4193
+
4194
+
4195
+ <td class="default">
4196
+
4197
+ 'screenshotFile'
4198
+
4199
+ </td>
4200
+
4201
+
4202
+ <td class="description last"><p>下载文件名</p></td>
4203
+ </tr>
4204
+
4205
+
4206
+
4207
+
4208
+ <tr class="deep-level-1">
4209
+
4210
+ <td class="name"><code>width</code></td>
4211
+
4212
+
4213
+ <td class="type">
4214
+
4215
+
4216
+ <span class="param-type">Number</span>
4217
+
4218
+
4219
+
4220
+ </td>
4221
+
4222
+
4223
+ <td class="default">
4224
+
4225
+ </td>
4226
+
4227
+
4228
+ <td class="description last"><p>图片宽度</p></td>
4229
+ </tr>
4230
+
4231
+
4232
+
4233
+
4234
+ <tr class="deep-level-1">
4235
+
4236
+ <td class="name"><code>height</code></td>
4237
+
4238
+
4239
+ <td class="type">
4240
+
4241
+
4242
+ <span class="param-type">Number</span>
4243
+
4244
+
4245
+
4246
+ </td>
4247
+
4248
+
4249
+ <td class="default">
4250
+
4251
+ </td>
4252
+
4253
+
4254
+ <td class="description last"><p>图片高度</p></td>
4255
+ </tr>
4256
+
4257
+
4258
+
4259
+
4260
+ <tr class="deep-level-1">
4261
+
4262
+ <td class="name"><code>x</code></td>
4263
+
4264
+
4265
+ <td class="type">
4266
+
4267
+
4268
+ <span class="param-type">Number</span>
4269
+
4270
+
4271
+
4272
+ </td>
4273
+
4274
+
4275
+ <td class="default">
4276
+
4277
+ </td>
4278
+
4279
+
4280
+ <td class="description last"><p>图片原点x</p></td>
4281
+ </tr>
4282
+
4283
+
4284
+
4285
+
4286
+ <tr class="deep-level-1">
4287
+
4288
+ <td class="name"><code>y</code></td>
4289
+
4290
+
4291
+ <td class="type">
4292
+
4293
+
4294
+ <span class="param-type">Number</span>
4295
+
4296
+
4297
+
4298
+ </td>
4299
+
4300
+
4301
+ <td class="default">
4302
+
4303
+ </td>
4304
+
4305
+
4306
+ <td class="description last"><p>图片原点y</p></td>
4307
+ </tr>
4308
+
4309
+
4310
+
4311
+
4312
+ <tr class="deep-level-1">
4313
+
4314
+ <td class="name"><code>isDownload</code></td>
4315
+
4316
+
4317
+ <td class="type">
4318
+
4319
+
4320
+ <span class="param-type">Boolean</span>
4321
+
4322
+
4323
+
4324
+ </td>
4325
+
4326
+
4327
+ <td class="default">
4328
+
4329
+ true
4330
+
4331
+ </td>
4332
+
4333
+
4334
+ <td class="description last"><p>是否下载图片</p></td>
4335
+ </tr>
4336
+
4337
+
4338
+
4339
+
4340
+
4341
+
4342
+
4343
+ </tbody>
4344
+ </table>
4345
+ </div>
4346
+
4347
+
4348
+
4349
+
4350
+
4351
+
4352
+ <dl class="details">
4353
+
4354
+
4355
+
4356
+
4357
+
4358
+
4359
+
4360
+
4361
+
4362
+
4363
+
4364
+
4365
+
4366
+
4367
+
4368
+
4369
+
4370
+
4371
+
4372
+
4373
+
4374
+
4375
+
4376
+
4377
+
4378
+
4379
+
4380
+
4381
+
4382
+
4383
+
4384
+ </dl>
4385
+
4386
+
4387
+
4388
+
4389
+
4390
+
4391
+
4392
+
4393
+
4394
+
4395
+
4396
+
4397
+
4398
+
4399
+
4400
+
4401
+
4402
+
4403
+ <div class='columns method-parameter'>
4404
+ <div class="column is-2"><label>返回值:</label></div>
4405
+ <div class="column is-10">
4406
+
4407
+
4408
+
4409
+ <div class="columns">
4410
+
4411
+ <div class='param-desc column is-7'><p>屏幕快照 {dataUrl String },且浏览器会下载图片</p></div>
4412
+
4413
+
4414
+ <div class='column is-5 has-text-left'>
4415
+ <label>类型: </label>
4416
+
4417
+ <span class="param-type"><a href="Promise.html">Promise</a></span>
4418
+
4419
+
4420
+ </div>
4421
+
4422
+ </div>
4423
+
4424
+
4425
+ </div>
4426
+ </div>
4427
+
4428
+
4429
+
4430
+
4431
+
4432
+
4433
+ <h5>示例</h5>
4434
+
4435
+ <p class="code-caption"><h7>屏幕快照</h7></p>
4436
+
4437
+
4438
+ <pre class="prettyprint"><code>// ES5引入方式
4439
+ var { Map, SceneView } = zondy
4440
+ var { PictureFormat } = zondy.Enum
4441
+ // ES6引入方式
4442
+ import { Map, SceneView } from "@mapgis/webclient-cesium-plugin"
4443
+ import { PictureFormat } from "@mapgis/webclient-common"
4444
+ // 初始化图层管理容器
4445
+ const map = new Map();
4446
+ // 初始化地图视图对象
4447
+ const sceneView = new SceneView({
4448
+ // 二维场景视图的容器(html的div标签)ID
4449
+ viewId: "二维场景视图的容器的id",
4450
+ // 图层管理容器
4451
+ map: map
4452
+ })
4453
+ // 设置屏幕快照参数
4454
+ const screenshotOptions: {
4455
+ format: PictureFormat.png
4456
+ }
4457
+ // 开始屏幕快照
4458
+ sceneView.takeScreenshot(screenshotOptions).then((result) => {
4459
+ // 获取base64格式的url字符串
4460
+ console.log("dataUrl:", result.dataUrl)
4461
+ })</code></pre>
4462
+
4463
+
4464
+
4465
+ </div>
4466
+
4467
+ <div class="member">
4468
+
4469
+
4470
+
4471
+ <h4 class="name" id="toJSON">
4472
+ <a class="href-link" href="#toJSON">#</a>
4473
+
4474
+ <span class="code-name" style="font-size:30px">
4475
+
4476
+ toJSON<span class="signature">()</span>
4477
+
4478
+ </span>
4479
+ </h4>
4480
+
4481
+
4482
+
4483
+ <div class="description">
4484
+ <p><a id='toJSON'></a>
4485
+ 导出场景视图的配置文件</p>
4486
+ </div>
4487
+
4488
+
4489
+
4490
+
4491
+
4492
+
4493
+
4494
+
4495
+
4496
+
4497
+
4498
+
4499
+
4500
+
4501
+ <dl class="details">
4502
+
4503
+
4504
+
4505
+
4506
+
4507
+
4508
+
4509
+
4510
+
4511
+
4512
+
4513
+
4514
+
4515
+
4516
+
4517
+
4518
+
4519
+
4520
+
4521
+
4522
+
4523
+
4524
+
4525
+
4526
+
4527
+
4528
+
4529
+
4530
+
4531
+
4532
+
4533
+ </dl>
4534
+
4535
+
4536
+
4537
+
4538
+
4539
+
4540
+
4541
+
4542
+
4543
+
4544
+
4545
+
4546
+
4547
+
4548
+
4549
+
4550
+
4551
+
4552
+ <div class='columns method-parameter'>
4553
+ <div class="column is-2"><label>返回值:</label></div>
4554
+ <div class="column is-10">
4555
+
4556
+
4557
+
4558
+ <div class="columns">
4559
+
4560
+ <div class='param-desc column is-7'><p>导出的配置文件</p></div>
4561
+
4562
+
4563
+ <div class='column is-5 has-text-left'>
4564
+ <label>类型: </label>
4565
+
4566
+ <span class="param-type">Object</span>
4567
+
4568
+
4569
+ </div>
4570
+
4571
+ </div>
4572
+
4573
+
4574
+ </div>
4575
+ </div>
4576
+
4577
+
4578
+
4579
+
4580
+
4581
+
4582
+ </div>
4583
+
4584
+ <div class="member">
4585
+
4586
+
4587
+
4588
+ <h4 class="name" id="toMap">
4589
+ <a class="href-link" href="#toMap">#</a>
4590
+
4591
+ <span class="code-name" style="font-size:30px">
4592
+
4593
+ toMap<span class="signature">(screenPoint)</span>
4594
+
4595
+ </span>
4596
+ </h4>
4597
+
4598
+
4599
+
4600
+ <div class="description">
4601
+ <p><a id='toMap'></a>
4602
+ 屏幕像素坐标点转地理坐标点</p>
4603
+ </div>
4604
+
4605
+
4606
+
4607
+
4608
+
4609
+
4610
+
4611
+
4612
+
4613
+
4614
+ <h4>参数:</h4>
4615
+
4616
+ <div class="table-container">
4617
+ <table class="params table">
4618
+ <thead>
4619
+ <tr>
4620
+
4621
+ <th>名称</th>
4622
+
4623
+
4624
+ <th>类型</th>
4625
+
4626
+
4627
+
4628
+ <th class="last">描述</th>
4629
+ </tr>
4630
+ </thead>
4631
+
4632
+ <tbody>
4633
+
4634
+
4635
+
4636
+ <tr class="deep-level-0">
4637
+
4638
+ <td class="name"><code>screenPoint</code></td>
4639
+
4640
+
4641
+ <td class="type">
4642
+
4643
+
4644
+ <span class="param-type">Object</span>
4645
+
4646
+
4647
+
4648
+ </td>
4649
+
4650
+
4651
+
4652
+ <td class="description last"><p>屏幕像素坐标点,传入的 x范围为[0,canvas.width - 1],传入的 x范围为[0,canvas.height - 1],例如{ x: 900, y: 500 }</p></td>
4653
+ </tr>
4654
+
4655
+
4656
+
4657
+
4658
+ </tbody>
4659
+ </table>
4660
+ </div>
4661
+
4662
+
4663
+
4664
+
4665
+
4666
+
4667
+ <dl class="details">
4668
+
4669
+
4670
+
4671
+
4672
+
4673
+
4674
+
4675
+
4676
+
4677
+
4678
+
4679
+
4680
+
4681
+
4682
+
4683
+
4684
+
4685
+
4686
+
4687
+
4688
+
4689
+
4690
+
4691
+
4692
+
4693
+
4694
+
4695
+
4696
+
4697
+
4698
+
4699
+ </dl>
4700
+
4701
+
4702
+
4703
+
4704
+
4705
+
4706
+
4707
+
4708
+
4709
+
4710
+
4711
+
4712
+
4713
+
4714
+
4715
+
4716
+
4717
+
4718
+ <div class='columns method-parameter'>
4719
+ <div class="column is-2"><label>返回值:</label></div>
4720
+ <div class="column is-10">
4721
+
4722
+
4723
+
4724
+ <div class="columns">
4725
+
4726
+ <div class='param-desc column is-7'><p>地理坐标点</p></div>
4727
+
4728
+
4729
+ <div class='column is-5 has-text-left'>
4730
+ <label>类型: </label>
4731
+
4732
+ <span class="param-type">Point</span>
4733
+
4734
+
4735
+ </div>
4736
+
4737
+ </div>
4738
+
4739
+
4740
+ </div>
4741
+ </div>
4742
+
4743
+
4744
+
4745
+
4746
+
4747
+
4748
+ <h5>示例</h5>
4749
+
4750
+ <p class="code-caption"><h5>屏幕像素坐标点转地理坐标示例</h5></p>
4751
+
4752
+
4753
+ <pre class="prettyprint"><code>// ES5引入方式
4754
+ const { Map } = zondy
4755
+ const { Point } = zondy.geometry
4756
+ const { SceneView } = zondy.cesium
4757
+ // ES6引入方式
4758
+ import { SceneView } from "@mapgis/webclient-cesium-plugin"
4759
+ import { Map, Point } from "@mapgis/webclient-common"
4760
+ // 初始化图层管理容器
4761
+ const map = new Map();
4762
+ // 初始化地图视图对象
4763
+ const sceneView = new SceneView({
4764
+ // 视图id
4765
+ viewId: "mapgis-3d-viewer",
4766
+ // 图层管理容器
4767
+ map: map,
4768
+ })
4769
+ const screenPoint = { x: 900, y: 500 }
4770
+ sceneView.toMap(screenPoint)</code></pre>
4771
+
4772
+
4773
+
4774
+ </div>
4775
+
4776
+ <div class="member">
4777
+
4778
+
4779
+
4780
+ <h4 class="name" id="toScreen">
4781
+ <a class="href-link" href="#toScreen">#</a>
4782
+
4783
+ <span class="code-name" style="font-size:30px">
4784
+
4785
+ toScreen<span class="signature">(point)</span>
4786
+
4787
+ </span>
4788
+ </h4>
4789
+
4790
+
4791
+
4792
+ <div class="description">
4793
+ <p><a id='toScreen'></a>
4794
+ 地理坐标点转屏幕像素坐标点</p>
4795
+ </div>
4796
+
4797
+
4798
+
4799
+
4800
+
4801
+
4802
+
4803
+
4804
+
4805
+
4806
+ <h4>参数:</h4>
4807
+
4808
+ <div class="table-container">
4809
+ <table class="params table">
4810
+ <thead>
4811
+ <tr>
4812
+
4813
+ <th>名称</th>
4814
+
4815
+
4816
+ <th>类型</th>
4817
+
4818
+
4819
+
4820
+ <th class="last">描述</th>
4821
+ </tr>
4822
+ </thead>
4823
+
4824
+ <tbody>
4825
+
4826
+
4827
+
4828
+ <tr class="deep-level-0">
4829
+
4830
+ <td class="name"><code>point</code></td>
4831
+
4832
+
4833
+ <td class="type">
4834
+
4835
+
4836
+ <span class="param-type">Point</span>
4837
+
4838
+
4839
+
4840
+ </td>
4841
+
4842
+
4843
+
4844
+ <td class="description last"><p>地理坐标点</p></td>
4845
+ </tr>
4846
+
4847
+
4848
+
4849
+
4850
+ </tbody>
4851
+ </table>
4852
+ </div>
4853
+
4854
+
4855
+
4856
+
4857
+
4858
+
4859
+ <dl class="details">
4860
+
4861
+
4862
+
4863
+
4864
+
4865
+
4866
+
4867
+
4868
+
4869
+
4870
+
4871
+
4872
+
4873
+
4874
+
4875
+
4876
+
4877
+
4878
+
4879
+
4880
+
4881
+
4882
+
4883
+
4884
+
4885
+
4886
+
4887
+
4888
+
4889
+
4890
+
4891
+ </dl>
4892
+
4893
+
4894
+
4895
+
4896
+
4897
+
4898
+
4899
+
4900
+
4901
+
4902
+
4903
+
4904
+
4905
+
4906
+
4907
+
4908
+
4909
+
4910
+ <div class='columns method-parameter'>
4911
+ <div class="column is-2"><label>返回值:</label></div>
4912
+ <div class="column is-10">
4913
+
4914
+
4915
+
4916
+ <div class="columns">
4917
+
4918
+ <div class='param-desc column is-7'><p>屏幕像素坐标点</p></div>
4919
+
4920
+
4921
+ <div class='column is-5 has-text-left'>
4922
+ <label>类型: </label>
4923
+
4924
+ <span class="param-type">Object</span>
4925
+
4926
+
4927
+ </div>
4928
+
4929
+ </div>
4930
+
4931
+
4932
+ </div>
4933
+ </div>
4934
+
4935
+
4936
+
4937
+
4938
+
4939
+
4940
+ <h5>示例</h5>
4941
+
4942
+ <p class="code-caption"><h5>地理坐标点转屏幕像素坐标示例</h5></p>
4943
+
4944
+
4945
+ <pre class="prettyprint"><code>// ES5引入方式
4946
+ const { Map } = zondy
4947
+ const { Point, Extent } = zondy.geometry
4948
+ const { SceneView } = zondy.cesium
4949
+ // ES6引入方式
4950
+ import { SceneView } from "@mapgis/webclient-cesium-plugin"
4951
+ import { Map, Point, Extent } from "@mapgis/webclient-common"
4952
+ // 初始化图层管理容器
4953
+ const map = new Map();
4954
+ // 初始化地图视图对象
4955
+ const sceneView = new SceneView({
4956
+ // 视图id
4957
+ viewId: "mapgis-2d-viewer",
4958
+ // 图层管理容器
4959
+ map: map
4960
+ });
4961
+ const geoPoint = new Point({ coordinates: [123, 23, 0] })
4962
+ sceneView.toScreen(geoPoint)</code></pre>
4963
+
4964
+
4965
+
4966
+ </div>
4967
+
4968
+ </div>
4969
+ </div>
4970
+
1703
4971
 
1704
4972
 
1705
4973