← Back to LayerTree domain

LayerTree.releaseSnapshot

Releases layer snapshot captured by the back-end.

Domain: LayerTree experimental

Parameters

NameTypeDescription
snapshotIdSnapshotIdThe id of the layer snapshot.

Example Request

{
  "id": 1,
  "method": "LayerTree.releaseSnapshot",
  "params": {
    "snapshotId": "snapshotId-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('LayerTree.releaseSnapshot', {"snapshotId": "snapshotId-value"});
console.log(result);