enable_layer

The enable_layer function is used to make a graphic layer active or inactive.

Copied!
svc=render/enable_layer&params={"layerName":"<text>",
								"enable":<bool>}

Parameters

NameDescription
layerNameLayer name.
enable

Make the layer active:

  • — no;
  • 1 — yes.

Returned result

Copied!
{
	"enabled":<int>	/* state: 0—  inactive; 1 — active */
}

See also avl_render.

Possible error codes:

CodeDescription
6Undefined error.
4Wrong input parameters.
Download PDF file
Download Word document

See also