mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
forgot to build before committing, doh
This commit is contained in:
parent
a638076c76
commit
989f383308
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @version OpenSeadragon 0.9.66
|
* @version OpenSeadragon 0.9.67
|
||||||
*
|
*
|
||||||
* @fileOverview
|
* @fileOverview
|
||||||
* <h2>
|
* <h2>
|
||||||
@ -3602,14 +3602,7 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
|
|||||||
} else if ( $.isPlainObject( tileSource ) ){
|
} else if ( $.isPlainObject( tileSource ) ){
|
||||||
if( $.isFunction( tileSource.getTileUrl ) ){
|
if( $.isFunction( tileSource.getTileUrl ) ){
|
||||||
//Custom tile source
|
//Custom tile source
|
||||||
customTileSource = new $.TileSource(
|
customTileSource = new $.TileSource(tileSource);
|
||||||
tileSource.width,
|
|
||||||
tileSource.height,
|
|
||||||
tileSource.tileSize,
|
|
||||||
tileSource.tileOverlap,
|
|
||||||
tileSource.minLevel,
|
|
||||||
tileSource.maxLevel
|
|
||||||
);
|
|
||||||
customTileSource.getTileUrl = tileSource.getTileUrl;
|
customTileSource.getTileUrl = tileSource.getTileUrl;
|
||||||
_this.open( customTileSource );
|
_this.open( customTileSource );
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user