视图模型为 The view model for
BaseLayerPicker.
| 名称 Name | 类型 Type | 说明 Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
具有以下属性的对象: Object with the following properties:
|
抛出: Throws:
-
DeveloperError :imageryProviderViewModels 必须是一个数组。 : 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>
获取或设置可用于图像选择的 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.
-
默认值: Default Value:
undefined
获取或设置当前选定的地形。这个性质是可以观察到的。 Gets or sets the currently selected terrain. This property is observable.
-
默认值: Default Value:
undefined
terrainProviderViewModels : Array.<ProviderViewModel>
获取或设置可用于地形选择的 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.
