getLayerInfo.then(getMinMax).then((response) => {
        this.min = response.data.min;
        this.max = response.data.max;
        this.redraw();
      });