Open this page in the API Guide

LayerViewModel.createPreviewViewPanel Method

Create the layer preview panel.