Skip to content

Commit f205779

Browse files
committed
examples/deepzoom: stop setting OpenSeadragon minLevel
It appears that current OpenSeadragon uses a reasonable default.
1 parent b722c5e commit f205779

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

examples/deepzoom/templates/slide-fullpage.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@
4242
zoomPerScroll: 2,
4343
timeout: 120000,
4444
});
45-
viewer.addHandler("open", function() {
46-
// To improve load times, ignore the lowest-resolution Deep Zoom
47-
// levels. This is a hack: we can't configure the minLevel via
48-
// OpenSeadragon configuration options when the viewer is created
49-
// from DZI XML.
50-
viewer.source.minLevel = 8;
51-
});
5245

5346
var mpp = parseFloat("{{ slide_mpp }}");
5447
viewer.scalebar({

examples/deepzoom/templates/slide-multipane.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,6 @@ <h1>Slide properties</h1>
128128
visibilityRatio: 1,
129129
zoomPerScroll: 2,
130130
});
131-
viewer.addHandler("open", function() {
132-
// To improve load times, ignore the lowest-resolution Deep Zoom
133-
// levels. This is a hack: we can't configure the minLevel via
134-
// OpenSeadragon configuration options when the viewer is created
135-
// from DZI XML.
136-
viewer.source.minLevel = 8;
137-
});
138131
viewer.scalebar({
139132
xOffset: 10,
140133
yOffset: 10,

0 commit comments

Comments
 (0)