LayerManager.insertlayer Method

Create a layer viewModel and retains the zIndex of the layer.
 

Parameters

adapter

Type: Layer
The layer adapter to insert.
layerBelow

Type: Layer - May be null
(Optional) The layer adapter below the layer to insert. If not specified, insert to top.
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: dundas.controls.LayerViewmodel
The LayerViewmodel object created.