ac_requestLayer set_layer_visible Layer visibility control. Call: ac_request("layer", string whatdo); Here: whatdo = "ON"/"OFF"/"SWITCH" turn on, turn off or switch the state (was turned off - turn on and vice versa).