Skip to content

gi-nx


gi-nx / removeLayerFromProject

ts
function removeLayerFromProject(layerId: string | number): Promise<void>;

Removes a layer from the project.

Parameters

ParameterTypeDescription
layerIdstring | numberThe layer ID to remove. NB this is different to the projectLayer ID. see deleteProjectLayer

Returns

Promise<void>