To make a graphic layer active/inactive, use the command render/enable_layer:
svc=render/enable_layer¶ms={"layerName":<text>, "enable":<bool>}
| Name | Description |
|---|---|
| layerName | layer name |
| enable | make active: 0 - no 1 - yes |
{ "enabled":<int> /* state: 0 - inactive; 1 - active */ }
See also Get tiles of graphic layers.