mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
fixed size param
This commit is contained in:
parent
bccbf5ecf1
commit
890ec0c848
@ -162,8 +162,9 @@ $.extend( $.IIIF11TileSource.prototype, $.TileSource.prototype, {
|
|||||||
// IIIF11TileSource), which will be more precise (i.e. the 'right
|
// IIIF11TileSource), which will be more precise (i.e. the 'right
|
||||||
// 50% of 11px' case') and easier to pre-bake without worring about
|
// 50% of 11px' case') and easier to pre-bake without worring about
|
||||||
// different browsers' decimal precision (if desired).
|
// different browsers' decimal precision (if desired).
|
||||||
iiif_size = level_width + "," + level_height,
|
|
||||||
|
|
||||||
|
// iiif_size = level_width + "," + level_height,
|
||||||
|
iiif_size = this.tileSize + "," + this.tileSize,
|
||||||
|
|
||||||
//## iiif region
|
//## iiif region
|
||||||
iiif_tile_size_width = Math.ceil( this.tileSize / scale ),
|
iiif_tile_size_width = Math.ceil( this.tileSize / scale ),
|
||||||
@ -174,7 +175,7 @@ $.extend( $.IIIF11TileSource.prototype, $.TileSource.prototype, {
|
|||||||
iiif_tile_w,
|
iiif_tile_w,
|
||||||
iiif_tile_h;
|
iiif_tile_h;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ( level_width < this.tile_width && level_height < this.tile_height ){
|
if ( level_width < this.tile_width && level_height < this.tile_height ){
|
||||||
iiif_region = 'full';
|
iiif_region = 'full';
|
||||||
|
Loading…
Reference in New Issue
Block a user