A view model that represents each item in the
BaseLayerPicker
.
参数名称 | 类型 | 描述信息 | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
The object containing all parameters.
|
成员(属性)
Gets the category
readonly creationCommand : Command
Gets the Command that creates one or more providers which will be added to
the globe when this item is selected.
Gets the icon. This property is observable.
Gets the display name. This property is observable.
Gets the tooltip. This property is observable.
定义的类型
Cesium.ProviderViewModel.CreationFunction() → ImageryProvider|TerrainProvider|Array.<ImageryProvider>|Array.<TerrainProvider>|Promise.<TerrainProvider>|Promise.<ImageryProvider>|Promise.<Array.<TerrainProvider>>|Promise.<Array.<ImageryProvider>>
A function which creates one or more providers.
返回值:
The ImageryProvider or TerrainProvider, or array of providers, to be added
to the globe.