The view model for
BaseLayerPicker
.
参数名称 | 类型 | 描述信息 | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Object with the following properties:
|
Throws:
-
DeveloperError : imageryProviderViewModels must be an array.
-
DeveloperError : terrainProviderViewModels must be an array.
成员(属性)
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.
-
默认值:
false
Gets the globe.
imageryProviderViewModels : Array.<ProviderViewModel>
Gets or sets an array of ProviderViewModel instances available for imagery selection.
This property is observable.
Gets or sets the currently selected imagery. This property is observable.
-
默认值:
undefined
Gets or sets the currently selected terrain. This property is observable.
-
默认值:
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.