@mapgear/geoapps > LayerItem > GetChildLayerItem
LayerItem.GetChildLayerItem() method
Retrieve a child layer item
Signature:GetChildLayerItem(layerItemId: string, recursive?: boolean): LayerItem | null;
Parameters
Parameter | Type | Description |
---|---|---|
layerItemId | string | The layer item to retrieve |
recursive | boolean | (Optional) If a recursive search need to be applied |
LayerItem | null
Layer Item found by layer item id