adding support for positional arguments for minLevel and maxLevel in DziTileSource per macreery's branch

This commit is contained in:
thatcher 2013-02-13 16:27:17 -05:00
parent 0540e834b4
commit 685f58d663
3 changed files with 10 additions and 6 deletions

View File

@ -6,7 +6,7 @@
PROJECT: openseadragon
BUILD_MAJOR: 0
BUILD_MINOR: 9
BUILD_ID: 114
BUILD_ID: 115
BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}

View File

@ -1,7 +1,7 @@
/*globals OpenSeadragon*/
/**
* @version OpenSeadragon 0.9.114
* @version OpenSeadragon 0.9.115
*
* @fileOverview
* <h2>
@ -5697,7 +5697,7 @@ $.TileSource.determineType = function( tileSource, data, url ){
* @property {String} fileFormat
* @property {OpenSeadragon.DisplayRect[]} displayRects
*/
$.DziTileSource = function( width, height, tileSize, tileOverlap, tilesUrl, fileFormat, displayRects ) {
$.DziTileSource = function( width, height, tileSize, tileOverlap, tilesUrl, fileFormat, displayRects, minLevel, maxLevel ) {
var i,
rect,
level,
@ -5713,7 +5713,9 @@ $.DziTileSource = function( width, height, tileSize, tileOverlap, tilesUrl, file
tileOverlap: arguments[ 3 ],
tilesUrl: arguments[ 4 ],
fileFormat: arguments[ 5 ],
displayRects: arguments[ 6 ]
displayRects: arguments[ 6 ],
minLevel: arguments[ 7 ],
maxLevel: arguments[ 8 ]
};
}

View File

@ -16,7 +16,7 @@
* @property {String} fileFormat
* @property {OpenSeadragon.DisplayRect[]} displayRects
*/
$.DziTileSource = function( width, height, tileSize, tileOverlap, tilesUrl, fileFormat, displayRects ) {
$.DziTileSource = function( width, height, tileSize, tileOverlap, tilesUrl, fileFormat, displayRects, minLevel, maxLevel ) {
var i,
rect,
level,
@ -32,7 +32,9 @@ $.DziTileSource = function( width, height, tileSize, tileOverlap, tilesUrl, file
tileOverlap: arguments[ 3 ],
tilesUrl: arguments[ 4 ],
fileFormat: arguments[ 5 ],
displayRects: arguments[ 6 ]
displayRects: arguments[ 6 ],
minLevel: arguments[ 7 ],
maxLevel: arguments[ 8 ]
};
}