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