-
Hide cesium page gizmo
First, create a Viewer
var viewer = new Cesium.Viewer('cesiumContainer');//cesiumContainer为div中的id。
Two, Viewer there will be the following content
1 Geocoder: A positioning search tool, he can let the camera fly query location. Use the default application map data.
2 HomeButton: the vision back to the default window
3 Scene Mode Picker: switching between 3D, 2D and Columbus view (cv) mode
4 Base Layer Picker: topographic map and select an image displayed on earth
5 Navigation Help Button: display the default camera controls.
6 Animation: control the playback of the animation view animation speed.
7 Timeline: Specifies the current time, allowing the user to jump to the pending time.
8 Credits Display: display attribute data are always requested.
9 Fullscreen Button: the full-screen view!
By following code can make all the hidden button on the view
1 viewer = new Cesium.Viewer('cesiumContainer', { 2 imageryProvider: new Cesium.GoogleMapsImageryProvider(options1), 3 geocoder: false, 4 homeButton: false, 5 sceneModePicker: false, 6 baseLayerPicker: false, 7 fullscreenButton: false, 8 navigationHelpButton: false, 9 animation: false, 10 timeline: false, 11 fulllscreenButtond: false, 12 vrButton: false, 13 infoBox: false 14 });