mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Changelog for #1201
This commit is contained in:
parent
d815b5da64
commit
5dc6700f0c
@ -42,6 +42,7 @@ OPENSEADRAGON CHANGELOG
|
|||||||
* Fixed: IIPImageServer didn't work with the latest OSD release (#1199)
|
* Fixed: IIPImageServer didn't work with the latest OSD release (#1199)
|
||||||
* Now clamping pixel ratio density to a minimum of 1, fixing display issues on low density devices (#1200)
|
* Now clamping pixel ratio density to a minimum of 1, fixing display issues on low density devices (#1200)
|
||||||
* Improved calculation for determining which level to load first (#1198)
|
* Improved calculation for determining which level to load first (#1198)
|
||||||
|
* Fixed: setItemIndex method not working with navigator inside "open" event (#1201)
|
||||||
|
|
||||||
2.2.1:
|
2.2.1:
|
||||||
|
|
||||||
|
@ -20,12 +20,51 @@
|
|||||||
<div id="contentDiv" class="openseadragon1"></div>
|
<div id="contentDiv" class="openseadragon1"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
var duomo = {
|
||||||
|
Image: {
|
||||||
|
xmlns: "http://schemas.microsoft.com/deepzoom/2008",
|
||||||
|
Url: "http://openseadragon.github.io/example-images/duomo/duomo_files/",
|
||||||
|
Format: "jpg",
|
||||||
|
Overlap: "2",
|
||||||
|
TileSize: "256",
|
||||||
|
Size: {
|
||||||
|
Width: "13920",
|
||||||
|
Height: "10200"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
var viewer = OpenSeadragon({
|
var viewer = OpenSeadragon({
|
||||||
// debugMode: true,
|
debugMode: true,
|
||||||
|
// immediateRender: true,
|
||||||
id: "contentDiv",
|
id: "contentDiv",
|
||||||
|
minZoomLevel: 0.01,
|
||||||
prefixUrl: "../../build/openseadragon/images/",
|
prefixUrl: "../../build/openseadragon/images/",
|
||||||
tileSources: "../data/testpattern.dzi",
|
tileSources: '../data/testpattern.dzi',
|
||||||
showNavigator:true
|
// showNavigator: true,
|
||||||
|
|
||||||
|
// toolbar: "NBViewerOSDToolbar",
|
||||||
|
constrainDuringPan: true,
|
||||||
|
visibilityRatio: 1,
|
||||||
|
showNavigator: true,
|
||||||
|
navigatorAutoFade: false,
|
||||||
|
// showRotationControl: _data.nbViewerRotationControl,
|
||||||
|
// change the size of the navigator window
|
||||||
|
// navigatorPosition: "ABSOLUTE",
|
||||||
|
navigatorAutoResize: false,
|
||||||
|
navigatorRotate: false,
|
||||||
|
navigatorHeight: "150px",
|
||||||
|
navigatorWidth: "150px",
|
||||||
|
//debugMode: true,
|
||||||
|
immediateRender: true,
|
||||||
|
// adds precision to the zoom click
|
||||||
|
zoomPerClick: 1.3,
|
||||||
|
// adjusts the floating at the end of a zoom
|
||||||
|
animationTime: 0.5,
|
||||||
|
// prefixUrl: _data.nbViewerImagePath,
|
||||||
|
// tileSources: _data.nbViewerSettings.response.params.dzi_path,
|
||||||
|
// Settings remove the zoom functions from the mouse.
|
||||||
|
gestureSettingsMouse: { scrollToZoom: false, dblClickToZoom: false, clickToZoom: false }
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user