Add a new ProviderViewModel to BaseLayerPicker dynamically OR add a 2nd BaseLayerPicker?

Hi there,

imageryProviderViewModels is an option for the Viewer constructor, not a property of the Viewer class, so you can also pass it directly to the viewer at the time of construction.

viewer.baseLayerPicker.viewModel returns the BaseLayerPickerViewModel instance, where you can set the imageryProviderViewModels property directly.

Thanks!

Gabby