code: function(maxResolution, maxVFov, maxHFov) {
      maxHFov = maxHFov != null ? maxHFov : maxVFov;
  
      return compose(
        RectilinearView.limit.resolution(maxResolution),
        RectilinearView.limit.vfov(0, maxVFov),
        RectilinearView.limit.hfov(0, maxHFov),
        RectilinearView.limit.pitch(-Math.PI/2, Math.PI/2));
    }
docs: Returns a view limiter that limits the horizontal and vertical field of
  view, prevents zooming in past the image resolution, and limits the pitch
  range to prevent the camera wrapping around at the poles. These are the
  most common view constraints for a 360° panorama.
  @param {number} maxResolution The cube face width in pixels or,
  equivalently, one fourth of the equirectangular width in pixels.
  @param {number} maxVFov The maximum vertical field of view.
  @param {number} [maxHFov=maxVFov] The maximum horizontal field of view.
  @return {RectilinearViewLimiter}