src/views/Flat.js
function(min, max) {
    return function limitZoom(params) {
      params.zoom = clamp(params.zoom, min, max);
      return params;
    };
  }
function(min, max) {
    return function limitZoom(params) {
      params.zoom = clamp(params.zoom, min, max);
      return params;
    };
  }
function ( min , max ) { return function limitZoom ( params ) { params . zoom = clamp ( params . zoom , min , max ) ; return params ; } ; }
Returns a view limiter than constrains the zoom parameter.
@param {number} min The minimum zoom value.
@param {number} max The maximum zoom value.
@return {FlatViewLimiter}
Returns a view limiter than constrains the zoom parameter .