new ProviderViewModel(options)
A view model that represents each item in the
BaseLayerPicker
.
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | The object containing all parameters.
Properties
|
Members
creationCommand :Command
Gets the Command that creates one or more providers which will be added to
the globe when this item is selected.
Type:
iconUrl :String
Gets the icon. This property is observable.
Type:
- String
name :String
Gets the display name. This property is observable.
Type:
- String
tooltip :String
Gets the tooltip. This property is observable.
Type:
- String
Type Definitions
CreationFunction() → {ImageryProvider|TerrainProvider|Array.<ImageryProvider>|Array.<TerrainProvider>}
A function which creates one or more providers.
Returns:
The ImageryProvider or TerrainProvider, or array of providers, to be added
to the globe.
- Type
- ImageryProvider | TerrainProvider | Array.<ImageryProvider> | Array.<TerrainProvider>