mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 08:36:10 +03:00
adding support for positional arguments for minLevel and maxLevel in DziTileSource per macreery's branch
This commit is contained in:
parent
0540e834b4
commit
685f58d663
@ -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}
|
||||
|
||||
|
@ -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 ]
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -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 ]
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user