BaseLayerPickerViewModel

BaseLayerPickerViewModel

new

The view model for BaseLayerPicker.

Parameters:
Name Type Argument Default 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 drop-down is currently visible.
Default Value:
  • false

:ImageryLayerCollection

Gets the imagery layer collection.

:Array

Gets or sets an array of ImageryProviderViewModel instances available for selection. This property is observable.

:String

Gets the image url of the currently selected item. This property is observable.
Default Value:
  • undefined

:ImageryProviderViewModel

Gets or sets the currently selected item. This property is observable.
Default Value:
  • undefined

:String

Gets the currently selected item name. This property is observable.
Default Value:
  • undefined

:Command

Gets the command to toggle the visibility of the drop down.