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: