The view model for
BaseLayerPicker
.
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Object with the following properties:
|
Throws:
-
DeveloperError : imageryProviderViewModels must be an array.
-
DeveloperError : terrainProviderViewModels must be an array.
Members
Gets the button background image. This property is observable.
Gets the button tooltip. This property is observable.
Gets or sets whether the imagery selection drop-down is currently visible.
-
Default Value:
false
Gets the globe.
imageryProviderViewModels : Array.<ProviderViewModel>
Gets or sets an array of ProviderViewModel instances available for imagery selection.
This property is observable.
selectedImagery : ProviderViewModel
Gets or sets the currently selected imagery. This property is observable.
-
Default Value:
undefined
selectedTerrain : ProviderViewModel
Gets or sets the currently selected terrain. This property is observable.
-
Default Value:
undefined
terrainProviderViewModels : Array.<ProviderViewModel>
Gets or sets an array of ProviderViewModel instances available for terrain selection.
This property is observable.
toggleDropDown : Command
Gets the command to toggle the visibility of the drop down.