BaseLayerPickerViewModel

BaseLayerPickerViewModel

new

The ViewModel for BaseLayerPicker.

Parameters:
Name Type Argument Description
imageryLayers ImageryLayerCollection The imagery layer collection to use.
imageryProviderViewModels Array <optional>
The array of ImageryProviderViewModel instances to use.
Throws:
See:
Source:

Members

Gets or sets whether the imagery selection dropDown is currently visible.

:ImageryLayerCollection

Gets the ImageryLayerCollection.

:Observable

Gets the observable array of ImageryProviderViewModel instances available for selection.

:Observable

Gets the image url of the currently selected item.

:Observable

Gets a writable observable for the currently selected item.

:Observable

Gets the name of the currently selected item.

:Command

Command to toggle dropDown visibility.