mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
tileSize is no longer hard corded in Zoomify Tile Source
This commit is contained in:
parent
84dd5cd6a7
commit
820cdb90f8
@ -18,7 +18,7 @@
|
||||
* tilesUrl: "/test/data/zoomify/"
|
||||
* }
|
||||
*
|
||||
* The tileSize is currently hardcoded to 256 (the usual Zoomify default). The tileUrl must the path to the image _directory_.
|
||||
* The tileSize is set to 256 (the usual Zoomify default) when it is not defined. The tileUrl must the path to the image _directory_.
|
||||
*
|
||||
* 2) Loading image metadata from xml file: (CURRENTLY NOT SUPPORTED)
|
||||
*
|
||||
@ -44,7 +44,9 @@
|
||||
* @param {String} tilesUrl
|
||||
*/
|
||||
$.ZoomifyTileSource = function(options) {
|
||||
options.tileSize = 256;
|
||||
if(options.tileSize === undefined){
|
||||
options.tileSize = 256;
|
||||
}
|
||||
|
||||
var currentImageSize = {
|
||||
x: options.width,
|
||||
|
Loading…
Reference in New Issue
Block a user