LayerManager.createLayer Method

Create a layer viewmodel on top of the selected layer and assigns a zIndex to it.
 

Parameters

adapter

Type: Layer
The layer adapter, none use default properties.
gridTemplateAdorner

Type: GridTemplateAdorner
The grid template adorner to assign to the layer.
options

Type: Object - May be null
(Optional) Options:
     doNotCreateExplorer - [type: boolean]  - true to skip creation of the explorer.
  

Return Value


Type: LayerViewModel
The LayerViewModel object created.