animation |
Boolean
|
true
|
optional
If set to false, the Animation widget will not be created. |
baseLayerPicker |
Boolean
|
true
|
optional
If set to false, the BaseLayerPicker widget will not be created. |
fullscreenButton |
Boolean
|
true
|
optional
If set to false, the FullscreenButton widget will not be created. |
geocoder |
Boolean
|
true
|
optional
If set to false, the Geocoder widget will not be created. |
homeButton |
Boolean
|
true
|
optional
If set to false, the HomeButton widget will not be created. |
infoBox |
Boolean
|
true
|
optional
If set to false, the InfoBox widget will not be created. |
sceneModePicker |
Boolean
|
true
|
optional
If set to false, the SceneModePicker widget will not be created. |
selectionIndicator |
Boolean
|
true
|
optional
If set to false, the SelectionIndicator widget will not be created. |
timeline |
Boolean
|
true
|
optional
If set to false, the Timeline widget will not be created. |
navigationHelpButton |
Boolean
|
true
|
optional
If set to the false, the navigation help button will not be created. |
navigationInstructionsInitiallyVisible |
Boolean
|
true
|
optional
True if the navigation instructions should initially be visible, or false if the should not be shown until the user explicitly clicks the button. |
scene3DOnly |
Boolean
|
false
|
optional
When true , each geometry instance will only be rendered in 3D to save GPU memory. |
selectedImageryProviderViewModel |
ProviderViewModel
|
|
optional
The view model for the current base imagery layer, if not supplied the first available base layer is used. This value is only valid if options.baseLayerPicker is set to true. |
imageryProviderViewModels |
Array.<ProviderViewModel>
|
createDefaultImageryProviderViewModels()
|
optional
The array of ProviderViewModels to be selectable from the BaseLayerPicker. This value is only valid if options.baseLayerPicker is set to true. |
selectedTerrainProviderViewModel |
ProviderViewModel
|
|
optional
The view model for the current base terrain layer, if not supplied the first available base layer is used. This value is only valid if options.baseLayerPicker is set to true. |
terrainProviderViewModels |
Array.<ProviderViewModel>
|
createDefaultTerrainProviderViewModels()
|
optional
The array of ProviderViewModels to be selectable from the BaseLayerPicker. This value is only valid if options.baseLayerPicker is set to true. |
imageryProvider |
ImageryProvider
|
new BingMapsImageryProvider()
|
optional
The imagery provider to use. This value is only valid if options.baseLayerPicker is set to false. |
terrainProvider |
TerrainProvider
|
new EllipsoidTerrainProvider()
|
optional
The terrain provider to use |
skyBox |
SkyBox
|
|
optional
The skybox used to render the stars. When undefined , the default stars are used. |
fullscreenElement |
Element
|
document.body
|
optional
The element to make full screen when the full screen button is pressed. |
useDefaultRenderLoop |
Boolean
|
true
|
optional
True if this widget should control the render loop, false otherwise. |
targetFrameRate |
Number
|
|
optional
The target frame rate when using the default render loop. |
showRenderLoopErrors |
Boolean
|
true
|
optional
If true, this widget will automatically display an HTML panel to the user containing the error, if a render loop error occurs. |
automaticallyTrackDataSourceClocks |
Boolean
|
true
|
optional
If true, this widget will automatically track the clock settings of newly added DataSources, updating if the DataSource's clock changes. Set this to false if you want to configure the clock independently. |
contextOptions |
Object
|
|
optional
Context and WebGL creation properties corresponding to options passed to Scene . |
sceneMode |
SceneMode
|
SceneMode.SCENE3D
|
optional
The initial scene mode. |
mapProjection |
MapProjection
|
new GeographicProjection()
|
optional
The map projection to use in 2D and Columbus View modes. |
creditContainer |
Element
|
String
|
|
optional
The DOM element or ID that will contain the CreditDisplay . If not specified, the credits are added to the bottom of the widget itself. |
dataSources |
DataSourceCollection
|
new DataSourceCollection()
|
optional
The collection of data sources visualized by the widget. If this parameter is provided,
the instance is assumed to be owned by the caller and will not be destroyed when the viewer is destroyed. |