setCssMaxDimension(maxDimension) {
    this.cssMaxWidth = maxDimension.width || this.cssMaxWidth;
    this.cssMaxHeight = maxDimension.height || this.cssMaxHeight;
  }
Set css max dimension
@param {{width: number, height: number}} maxDimension - Max width & Max height