LayerTree.makeSnapshot

Returns the layer snapshot identifier.

{
  "name": "makeSnapshot",
  "parameters": [
    {
      "name": "layerId",
      "$ref": "LayerId",
      "description": "The id of the layer."
    }
  ],
  "description": "Returns the layer snapshot identifier.",
  "returns": [
    {
      "name": "snapshotId",
      "$ref": "SnapshotId",
      "description": "The id of the layer snapshot."
    }
  ]
}