Function renameDrawingLayer

Renames an existing drawing layer and updates all associated sections and analytics references.

Error if the new layer name already exists or the source layer does not exist

  • Parameters

    • layerName: string

      Current name of the drawing layer

    • newLayerName: string

      New name for the drawing layer

    Returns void