thatcher/openseadragon — Issue #4: constrainDuringPan
Author: dragulesq
Created: 2012-03-05 03:04:42+00:00
State: open

In the original Seadragon API, one could set

Seadragon.Config.constrainDuringPan = true

... and the image could not be dragged out of bounds, meaning you couldn't see the image edges and/or the background. This is a pretty useful option which can be combined with

Seadragon.Config.visibilityRatio = 1.0

... in order to avoid showing the background.