if (reuseColorscalerange && this.layer.wmsParams.colorscalerange) {
      //  Use colorscalerange if defined on the layer
      this.min = +this.layer.wmsParams.colorscalerange.split(",")[0];
      this.max = +this.layer.wmsParams.colorscalerange.split(",")[1];
      this.redraw();