@mapgear/geoapps > Layers > GetLayerById
Layers.GetLayerById() method
Retrieve a layer by the specified id
Signature:GetLayerById(layerItemId: string): LayerItem;
Parameters
Parameter | Type | Description |
---|---|---|
layerItemId | string | Id of layer item |
@mapgear/geoapps > Layers > GetLayerById
Retrieve a layer by the specified id
Signature:GetLayerById(layerItemId: string): LayerItem;
Parameter | Type | Description |
---|---|---|
layerItemId | string | Id of layer item |