From 10f60c88cb044f69405388903cef08342496e3ec Mon Sep 17 00:00:00 2001 From: thatcher Date: Thu, 14 Mar 2013 08:12:01 -0400 Subject: [PATCH] minImageRatio should never be set below 1 unless you want to load the Nth level tiles to level N-M, which effectively throttles network requests and draw animations but does not produce a better picture --- src/openseadragon.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/openseadragon.js b/src/openseadragon.js index f0c1fe4e..d5ab3231 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -474,8 +474,8 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){ constrainDuringPan: false, wrapHorizontal: false, wrapVertical: false, - visibilityRatio: 0.5, - minPixelRatio: 0.9, + visibilityRatio: 0.5, //-> how much of the viewer can be negative space + minPixelRatio: 1, //->closer to 0 draws tiles meant for a higher zoom at this zoom defaultZoomLevel: 0, minZoomLevel: null, maxZoomLevel: null, @@ -488,12 +488,12 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){ zoomPerScroll: 1.2, zoomPerSecond: 1.0, animationTime: 1.2, - blendTime: 0.1, + blendTime: 0, alwaysBlend: false, autoHideControls: true, immediateRender: false, - minZoomImageRatio: 0.9, - maxZoomPixelRatio: 1.1, + minZoomImageRatio: 0.9, //-> closer to 0 allows zoom out to infinity + maxZoomPixelRatio: 1.1, //-> higher allows 'over zoom' into pixels //DEFAULT CONTROL SETTINGS showSequenceControl: true, //SEQUENCE