补充开启cesium的界面及原装附件

 补充开启cesium的界面及原装附件

Cesium是基于div,先创建一个cesiumContainer的div

 var viewer = new cesium.Viewer("cesiumContainer",各类设置),这些设置主要包括:

比较重要的是baseLayerPicker,简单说自定义底图,baseLayerPicker设置为false。

  1. Geocoder : A location search tool that flies the camera to queried location. Uses Bing Maps data by default.
  2. HomeButton : Flies the viewer back to a default view.
  3. SceneModePicker : Switches between 3D, 2D and Columbus View (CV) modes.
  4. BaseLayerPicker : Chooses the imagery and terrain to display on the globe.
  5. NavigationHelpButton : Displays the default camera controls.
  6. Animation : Controls the play speed for view animation.
  7. CreditsDisplay : Displays data attributions. Almost always required!
  8. Timeline : Indicates current time and allows users to jump to a specific time using the scrubber.
  9. FullscreenButton : Makes the Viewer fullscreen. 翻译
  10. Geocoder : 一种地理位置搜索工具,用于显示相机访问的地理位置。默认使用微软的Bing地图。
  11. HomeButton : 首页位置,点击之后将视图跳转到默认视角。
  12. SceneModePicker : 切换2D、3D 和 Columbus View (CV) 模式。
  13. BaseLayerPicker : 选择三维数字地球的底图(imagery and terrain)。
  14. NavigationHelpButton : 帮助提示,如何操作数字地球。
  15. Animation :控制视窗动画的播放速度。
  16. CreditsDisplay : 展示商标版权和数据源。
  17. Timeline : 展示当前时间和允许用户在进度条上拖动到任何一个指定的时间。
  18. FullscreenButton : 视察全屏按钮。
原文地址:https://www.cnblogs.com/xiaoguniang0204/p/11676934.html