getResolutionForPosition_(position) {
    const fn = this.getMap().getView().getResolutionForValueFunction();
    return fn(1 - position);
  }
Calculates the corresponding resolution of the thumb given its relative
position (where 0 is the minimum and 1 is the maximum).

@param {number} position The relative position of the thumb.
@return {number} The corresponding resolution.
@private