ProviderViewModel

ProviderViewModel

new

A view model that represents each item in the BaseLayerPicker.

Parameters:
Name Type Description
description Object The object containing all parameters.
Properties
Name Type Description
name String The name of the layer.
tooltip String The tooltip to show when the item is moused over.
iconUrl String An icon representing the layer.
creationFunction Function | Command A function or Command which creates the ImageryProvider or array of ImageryProviders to be added to the layers collection.
See:
Source:

Members

:Command

Gets the Command called to create the imagery provider or array of imagery providers to be added to the bottom of the layer collection.

:String

Gets the icon. This property is observable.

:String

Gets the display name. This property is observable.

:String

Gets the tooltip. This property is observable.