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:
DeveloperError : imageryProviderViewModels must be an array.
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.

: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.

:Command

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