Creates a layer state where specified layers are assigned one state (e.g. ON), and all the others are assigned other state (e.g. OFF).
eOk if operation succeeded; error code otherwise.