From 685f58d66393ed87d67e1af14edd8601a7c5c9dd Mon Sep 17 00:00:00 2001 From: thatcher Date: Wed, 13 Feb 2013 16:27:17 -0500 Subject: [PATCH] adding support for positional arguments for minLevel and maxLevel in DziTileSource per macreery's branch --- build.properties | 2 +- openseadragon.js | 8 +++++--- src/dzitilesource.js | 6 ++++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/build.properties b/build.properties index 946b4e02..63b6475e 100644 --- a/build.properties +++ b/build.properties @@ -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} diff --git a/openseadragon.js b/openseadragon.js index d61df341..3c437354 100644 --- a/openseadragon.js +++ b/openseadragon.js @@ -1,7 +1,7 @@ /*globals OpenSeadragon*/ /** - * @version OpenSeadragon 0.9.114 + * @version OpenSeadragon 0.9.115 * * @fileOverview *

@@ -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 ] }; } diff --git a/src/dzitilesource.js b/src/dzitilesource.js index d28f8afc..621a8230 100644 --- a/src/dzitilesource.js +++ b/src/dzitilesource.js @@ -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 ] }; }