output.innerText &#x3D; control.value;
          raster.changed();
        });
        output.innerText &#x3D; control.value;
        controls[id] &#x3D; control;
      });

      raster.on(&#x27;beforeoperations&#x27;, function(event) {
        // the event.data object will be passed to operations
        var data &#x3D; event.data;
        data.resolution &#x3D; event.resolution;
        for (var id in controls) {
          data[id] &#x3D; Number(controls[id].value);
        }
      });
    &lt;/script&gt