diff --git a/build.properties b/build.properties index db353970..262789eb 100644 --- a/build.properties +++ b/build.properties @@ -6,7 +6,7 @@ PROJECT: openseadragon BUILD_MAJOR: 0 BUILD_MINOR: 9 -BUILD_ID: 66 +BUILD_ID: 67 BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} diff --git a/src/viewer.js b/src/viewer.js index de225c57..cc90925c 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -305,14 +305,7 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype, } else if ( $.isPlainObject( tileSource ) ){ if( $.isFunction( tileSource.getTileUrl ) ){ //Custom tile source - customTileSource = new $.TileSource( - tileSource.width, - tileSource.height, - tileSource.tileSize, - tileSource.tileOverlap, - tileSource.minLevel, - tileSource.maxLevel - ); + customTileSource = new $.TileSource(tileSource); customTileSource.getTileUrl = tileSource.getTileUrl; _this.open( customTileSource ); } else {