@JsType(isNative=true, namespace="Cesium", name="ProviderViewModel") public class ProviderViewModel extends Object
BaseLayerPicker
.BaseLayerPicker
,
ImageryProvider
,
TerrainProvider
Modifier and Type | Class and Description |
---|---|
static interface |
ProviderViewModel.ImageryProviderCreationFunction
A function which creates one or more providers.
|
static interface |
ProviderViewModel.TerrainProviderCreationFunction |
Modifier and Type | Field and Description |
---|---|
String |
iconUrl
Gets the icon.
|
String |
name
Gets the display name.
|
String |
tooltip
Gets the tooltip.
|
Constructor and Description |
---|
ProviderViewModel(ProviderViewModelOptions options)
Constructor of a view model that represents each item in the
BaseLayerPicker . |
Modifier and Type | Method and Description |
---|---|
String |
category()
Gets the category
|
Command |
creationCommand()
Gets the Command that creates one or more providers which will be added to the globe when this item is selected.
|
@JsProperty public String iconUrl
@JsProperty public String name
@JsProperty public String tooltip
@JsConstructor public ProviderViewModel(ProviderViewModelOptions options)
BaseLayerPicker
.options
- ProviderViewModelOptions
object.Copyright © 2019. All rights reserved.