src/map/Map.js
function (crs, options) {
    var resolutions = [];
    for (var zoom = options.minZoom; zoom <= options.maxZoom; zoom++) {
      resolutions.push(options.maxResolution / Math.pow(2, zoom));
    }

    return new L.Proj.CRS(crs, options.proj4def, {
        origin: options.origin,
        resolutions: resolutions,
        bounds: options.projectedBounds
    });
  }
function (crs, options) {
    var resolutions = [];
    for (var zoom = options.minZoom; zoom <= options.maxZoom; zoom++) {
      resolutions.push(options.maxResolution / Math.pow(2, zoom));
    }

    return new L.Proj.CRS(crs, options.proj4def, {
        origin: options.origin,
        resolutions: resolutions,
        bounds: options.projectedBounds
    });
  }
function ( crs , options ) { var resolutions = [ ] ; for ( var zoom = options . minZoom ; zoom <= options . maxZoom ; zoom ++ ) { resolutions . push ( options . maxResolution / Math . pow ( 2 , zoom ) ) ; } return new L . Proj . CRS ( crs , options . proj4def , { origin : options . origin , resolutions : resolutions , bounds : options . projectedBounds } ) ; }
Private Functions
Private Functions