Handle layers_opacity and layers_visibility params