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.

If you find a mistake in the text, please select it and press Ctrl+Enter.

Your message was sent. Thank you!

Report a mistake

An error occurred while submitting the form

Download PDF file
Download Word document

See also