LayerManager.getLayerByLayerId Method

Get a layer by its ID.
 

Parameters

id

Type: string
The ID of the layer.

Return Value


Type: LayerViewModel
The found layer viewmodel, null if not found.