code: function(min, max) {
      return function limitX(params) {
        params.x = clamp(params.x, min, max);
        return params;
      };
    }
docs: Returns a view limiter that constrains the x parameter.
  @param {number} min The minimum x value.
  @param {number} max The maximum y value.
  @return {FlatViewLimiter}